0001 addpath ~/no-backup/psurg/src/packages/Simulation/Graven/
0002
0003 version = 'v1.14';
0004 fileDate = '6May2004';
0005
0006 seed = 123;
0007
0008
0009 rand('state', seed);
0010 mode1 = makelist('../testrand.txt');
0011 readme_mode1 = ['makelist ' version ', rand(''state'', 123); mode1=makelist(''../testrand.txt'')'];
0012
0013
0014
0015 N = 10;
0016 rand('state', seed);
0017 mode2 = makelist(N, '../testrand.txt');
0018 readme_mode2 = ['makelist ' version ', rand(''state'', 123); mode2=makelist(10,''../testrand.txt'')'];
0019
0020
0021
0022 rand('state', seed);
0023 mode3H1 = makelist('../testopt.txt', 'H1');
0024 rand('state', seed);
0025 mode3H2 = makelist('../testopt.txt', 'H2');
0026 rand('state', seed);
0027 mode3L1 = makelist('../testopt.txt', 'L1');
0028 readme_mode3 = ['makelist ' version ', rand(''state'', 123); mode3<detId>=makelist(''../testrand.txt'',<detId>)'];
0029
0030
0031 rand('state', seed);
0032 mode4H1 = makelist(N, '../testopt.txt', 'H1');
0033 rand('state', seed);
0034 mode4H2 = makelist(N, '../testopt.txt', 'H2');
0035 rand('state', seed);
0036 mode4L1 = makelist(N, '../testopt.txt', 'L1');
0037 readme_mode4 = ['makelist ' version ', rand(''state'', 123); mode4<detId>=makelist(10,''../testrand.txt'',<detId>)'];
0038
0039
0040
0041 Internal.x = 1;
0042 Internal.phi = 2;
0043
0044 External.x = 0;
0045 External.phi = 0.5;
0046 External.psi = 1;
0047
0048 internal = [1, 2];
0049 external = [0, 0.5, 1];
0050
0051 amplA = 1e-21;
0052 amplB = [1e-23, 1e-19];
0053 amplC = [1e-23, 1e-20, 1e-19];
0054
0055 simId = 'SINC_100_0.01_0.2';
0056 startSamp = [1, 2];
0057
0058 rand('state', seed);
0059 mode5a = makelist(N,simId,amplA,startSamp,'optimal','random');
0060 rand('state', seed);
0061 mode5b = makelist(N,simId,amplB,startSamp,internal,external);
0062 rand('state', seed);
0063 mode5c = makelist(N,simId,amplC,startSamp,Internal,External);
0064 readme_mode5 = ['makelist ' version ', rand(''state'', 123); mode<a,b,c>=(10,''SINC_100_0.01_0.2'',ampl<A,B,C>,startSamp,<''optimal'',internal,Internal>,<''random'',external,External>)'];
0065
0066
0067
0068 rand('state', seed);
0069 mode6H1 = makelist(N,simId,amplA,startSamp,'optimal','optimal','H1');
0070 rand('state', seed);
0071 mode6H2 = makelist(N,simId,amplA,startSamp,'optimal','optimal','H2');
0072 rand('state', seed);
0073 mode6L1 = makelist(N,simId,amplA,startSamp,'optimal','optimal','L1');
0074 readme_mode6 = ['makelist ' version ', rand(''state'', 123); mode6<detId>=makelist(N,simId,amplA,startSamp,''optimal'',''optimal'',<detId>)'];
0075
0076 eval(['save makelistData' fileDate ' seed mode1 readme_mode1 N mode2 readme_mode2 mode3H1 mode3H2 mode3L1 readme_mode3 ' ...
0077 'mode4H1 mode4H2 mode4L1 readme_mode4 Internal External internal external amplA amplB amplC simId startSamp ' ...
0078 'mode5a mode5b mode5c readme_mode5 mode6H1 mode6H2 mode6L1 readme_mode6'])