IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43110


Ignore:
Timestamp:
Sep 27, 2026, 2:47:06 PM (5 hours ago)
Author:
eugene
Message:

split out simtest science server and pstamp server from simtest mkimage and inject code

Location:
branches/eam_branches/ipp-pstamp-20260421/simtest
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/simtest/Makefile.am

    r11638 r43110  
    11
    22install_files = \
    3         sim.pro \
    4         images.pro
     3        simtest.pro \
     4        simtest.server.pro \
     5        simtest.pstamp.pro \
     6        simtest.quickmos.auto \
     7        simtest.quickmos.config
     8
     9# sim.pro
     10# images.pro
    511
    612installdir = $(datadir)/pantasks/modules
  • branches/eam_branches/ipp-pstamp-20260421/simtest/simtest.pro

    r43109 r43110  
     1#!/usr/bin/env dvo
    12## simtest.pro : automatic full-suite simulated IPP test : -*- sh -*-
    23
    34## 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 tests
     5## the camera   : any camera can be used, the sim... cameras are defined to be quick tests
    56## the sequence : this file defines the set of observations generated
    6 ## the auto : the automation file defines the sequence of analysis performed
    7 ## the recipe : the ppsim recipe defines the features which are included in the generate data
     7## 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
    89
    910## these are not completely independent: a certain sequence may be
    … …  
    4950    echo ""
    5051    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"
    5254    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"
    5557    break
    5658  end
    … …  
    5961  $hostname = $2
    6062  $init = $3
     63
    6164  if (("$init" != "run") && ("$init" != "inject") && ("$init" != "new"))
    6265    echo "USAGE: simtest (dbname) (hostname) (init)"
    … …  
    133136    end
    134137
    135     exec chiptool -dbname $dbname -block -label wait
     138    ## exec chiptool -dbname $dbname -block -label wait
    136139    exec source simtest.inject
    137140  end
    138141
    139   module pantasks.pro
    140   module automate.pro
    141 
    142   if (1)
    143     module register.pro
    144     module detrend.process.pro
    145     module detrend.stack.pro
    146     module detrend.norm.pro
    147     module detrend.resid.pro
    148     module detrend.reject.pro
    149     module detrend.correct.pro
    150     module chip.pro
    151     module camera.pro
    152     module fake.pro
    153     module warp.pro
    154     module diff.pro
    155     module stack.pro
    156   end
    157 
    158   add.label proc
    159 
    160   if ($SIMTEST_THREADS == 0)
    161     controller host add $hostname
    162   else
    163     controller host add $hostname -threads $SIMTEST_THREADS
    164   end
    165 
    166   add.database $dbname
    167 
    168142  automate.load $SIMTEST_AUTO $SIMTEST_CAMERA $dbname
    169 
    170   # module.tasks loads these
    171   if (1)
    172     register.revert.off
    173     detrend.revert.off
    174     chip.revert.off
    175     camera.revert.off
    176     fake.revert.off
    177     warp.revert.off
    178     diff.revert.off
    179     stack.revert.off
    180   end
    181 
    182   run
    183143end
    184144
    … …  
    194154  $SIMTEST_SEQUENCE = simtest.basic.config
    195155  $SIMTEST_AUTO = simtest.basic.auto
     156end
     157
     158macro 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
    196165end
    197166
    … …  
    287256  output stdout
    288257end
    289 
Note: See TracChangeset for help on using the changeset viewer.