- Timestamp:
- Sep 27, 2026, 2:47:06 PM (6 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/simtest/simtest.pro
r43109 r43110 1 #!/usr/bin/env dvo 1 2 ## simtest.pro : automatic full-suite simulated IPP test : -*- sh -*- 2 3 3 4 ## there are four features which define a simtest run: 4 ## the camera : any camera can be used, the sim... cameras are defined to be quick tests5 ## the camera : any camera can be used, the sim... cameras are defined to be quick tests 5 6 ## the sequence : this file defines the set of observations generated 6 ## the auto : the automation file defines the sequence of analysis performed7 ## the recipe : the ppsim recipe defines the features which are included in the generate data7 ## the auto : the automation file defines the sequence of analysis performed 8 ## the recipe : the ppsim recipe defines the features which are included in the generate data 8 9 9 10 ## these are not completely independent: a certain sequence may be … … 49 50 echo "" 50 51 echo "the following macros can be used to set up specific simtest suites:" 51 echo " simtest.setup.basic : run standard simtest suite" 52 echo " simtest.setup.quickmos : run mosaic simtest suite : use for pstamp" 53 echo " simtest.setup.basic : run standard simtest suite" 52 54 echo " simtest.setup.detverify : run detrend creation and detrend verification" 53 echo " simtest.setup.flatcorr : run a flat-field correction demonstration"54 echo " simtest.setup.ctemask : run a ctemask demonstration"55 echo " simtest.setup.flatcorr : run a flat-field correction demonstration" 56 echo " simtest.setup.ctemask : run a ctemask demonstration" 55 57 break 56 58 end … … 59 61 $hostname = $2 60 62 $init = $3 63 61 64 if (("$init" != "run") && ("$init" != "inject") && ("$init" != "new")) 62 65 echo "USAGE: simtest (dbname) (hostname) (init)" … … 133 136 end 134 137 135 exec chiptool -dbname $dbname -block -label wait138 ## exec chiptool -dbname $dbname -block -label wait 136 139 exec source simtest.inject 137 140 end 138 141 139 module pantasks.pro140 module automate.pro141 142 if (1)143 module register.pro144 module detrend.process.pro145 module detrend.stack.pro146 module detrend.norm.pro147 module detrend.resid.pro148 module detrend.reject.pro149 module detrend.correct.pro150 module chip.pro151 module camera.pro152 module fake.pro153 module warp.pro154 module diff.pro155 module stack.pro156 end157 158 add.label proc159 160 if ($SIMTEST_THREADS == 0)161 controller host add $hostname162 else163 controller host add $hostname -threads $SIMTEST_THREADS164 end165 166 add.database $dbname167 168 142 automate.load $SIMTEST_AUTO $SIMTEST_CAMERA $dbname 169 170 # module.tasks loads these171 if (1)172 register.revert.off173 detrend.revert.off174 chip.revert.off175 camera.revert.off176 fake.revert.off177 warp.revert.off178 diff.revert.off179 stack.revert.off180 end181 182 run183 143 end 184 144 … … 194 154 $SIMTEST_SEQUENCE = simtest.basic.config 195 155 $SIMTEST_AUTO = simtest.basic.auto 156 end 157 158 macro simtest.setup.quickmos 159 $SIMTEST_CAMERA = SIMMOSAIC 160 $SIMTEST_SEQUENCE = simtest.quickmos.config 161 $SIMTEST_AUTO = simtest.quickmos.auto 162 163 $CENTER_RA = 270.0 164 $CENTER_DEC = 30.0 196 165 end 197 166 … … 287 256 output stdout 288 257 end 289
Note:
See TracChangeset
for help on using the changeset viewer.
