| 21 | | USAGE: simtest (testroot) (dbname) (hostname) (init) |
| 22 | | if (init) == 0, just run the analysis tasks |
| 23 | | if (init) == 1, (re)create the database and (re)inject the images |
| 24 | | if (init) == 2, restart completely from scratch |
| 25 | | pantasks: simtest simtest.basic dbname computer 2 |
| | 21 | USAGE: simtest (dbname) (hostname) (init) |
| | 22 | if (init) == run : just run the analysis tasks |
| | 23 | if (init) == inject : (re)create the database and (re)inject the images |
| | 24 | if (init) == new : restart completely from scratch |
| | 25 | |
| | 26 | there are additional options which may be specified by setting the following variable names: |
| | 27 | PPSIM_RECIPE : define the recipe to use when generating the fake data |
| | 28 | SIMTEST_CAMERA : define an alternate camera (otherwise uses entry in sequence file) |
| | 29 | SIMTEST_SEQUENCE : define the set of observations generated (simtest.basic.config) |
| | 30 | SIMTEST_AUTO : define the analysis steps to perform (simtest.auto) |
| | 31 | SIMTEST_THREADS : set the number of threads for the processing node (0) |
| | 32 | |
| | 33 | the following macros can be used to set up specific simtest suites: |
| | 34 | simtest.setup.basic : run standard simtest suite |
| | 35 | simtest.setup.detverify : run detrend creation and detrend verification |
| | 36 | simtest.setup.flatcorr : run a flat-field correction demonstration |
| 28 | | Here: |
| 29 | | * {{{simtest.basic}}} specifies the setup (see {{{ippTasks/simtest.basic.config}}}). |
| 30 | | *{{{dbname}}} is your database name: it must have already been set up (e.g., using {{{dbadmin}}}), though it needn't have been created (using {{{pxadmin}}}) since the {{{simtest}}} will do that, depending on the {{{init}}} value you give it. |
| 31 | | * {{{computer}}} is the name of a processing node: you must be able to {{{ssh}}} to this node without it prompting for a password. |
| 32 | | * The {{{init}}} value (in the example here, {{{2}}}) specifies what needs to be done. |
| | 39 | * {{{dbname}}} is your database name: it must have already been set up (e.g., using {{{dbadmin}}}), though it needn't have been created (using {{{pxadmin}}}) since the {{{simtest}}} will do that, depending on the {{{init}}} value you give it. |
| | 40 | * {{{hostname}}} is the name of a processing node: you must be able to {{{ssh}}} to this node without it prompting for a password. |
| | 52 | |
| | 53 | |
| | 54 | === NOTES === |
| | 55 | |
| | 56 | '''2008-09-04 : Gene's notes on this latest version of simtest.pro''' |
| | 57 | |
| | 58 | The idea is that there are various things which we would like to be |
| | 59 | able to modify, theoretically independently. The camera, sequence, |
| | 60 | and auto should all be independent. (The 'auto' is the analysis steps |
| | 61 | performed as define in the file, eg, simtest.basic.auto or |
| | 62 | simtest.flatcorr.auto; suggestions of a better name are welcome). by |
| | 63 | default, if you run: |
| | 64 | |
| | 65 | simtest (dbname) (hostname) new |
| | 66 | |
| | 67 | you will get the same simtest run we used to run. Now, however, if |
| | 68 | you set SIMTEST_CAMERA to MEGACAM (uppercase required), then you get |
| | 69 | the same 'observations', but using megacam instead of simtest. |
| | 70 | |
| | 71 | I've also added a function in simtest.pro (simtest.setup.flatcorr) to |
| | 72 | set these variables in an appropriate way for the flatcorr analysis. |
| | 73 | |