IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8626


Ignore:
Timestamp:
Aug 25, 2006, 5:37:52 PM (20 years ago)
Author:
Paul Price
Message:

Started run of a flat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/ipptools/pipeline.txt

    r8618 r8626  
    1 Put Perl modules in ~/perl/
     1### Put Perl modules in ~/perl/
     2### Statistics::Descriptive (CPAN)
     3### PS-IPP-Metadata (CVS)
     4### PS-IPP-Metadata-Config (CVS)
    25
    36setenv PERL5LIB $HOME/perl/
     
    172175
    173176price@alala:/data/alala/price/megacam>dettool -raw -simple
    174  psMetadataRemove (psMetadata.c:713) : Failed to remove metadata item, position, from metadata table.
    1751771 bias 850131b fpa mc 850131b.fits BIAS r.MP9601 1.656000 5.496118 0.349071 0.000000 1155.934692 107.037283 46.214947 37.160000 105.480000 -133.067001 0.000000
    1761781 bias 850132b fpa mc 850132b.fits BIAS r.MP9601 1.656000 5.499327 0.349071 0.000000 1155.431957 107.464479 46.207451 37.160000 105.480000 -133.067001 0.000000
     
    210212### Stack the imfiles:
    211213
    212 price@alala:/data/alala/price/megacam>~/ipp/helpers/detrend_stack.pl 1 0 mc bias                                                                               
    213 
    214 #### NB: dettool -addstacked wants statistics: need to add these into ppMerge, and parse with detrend_stack.pl
     214price@alala:/data/alala/price/megacam>~/ipp/helpers/detrend_stack.pl 1 0 mc bias
     215
     216#### NB: dettool -addstacked wants statistics: need to add these into
     217####     ppMerge, and parse with detrend_stack.pl; DONE
     218
     219### Create residuals from the stack
    215220
    216221price@alala:/data/alala/price/megacam>dettool -toresid -simple
     
    2232280 1 850541b mc o_850541b.mc.fit PPIMAGE_O 1.780084 1.854754 292.975948
    224229
    225 ### Need det_type, stacked (actually normalised) URI  ---> JH to provide
     230### Need det_type, stacked (actually normalised) URI  ---> JH to provide; DONE
    226231
    227232~/ipp/helpers/detrend_create_resid.pl 1 0 850131b mc bias bias_mc_1_0.fit o_850131b.mc.fit 850131b
     
    270275
    271276### And that's it.
     277
     278### Didn't try:
     279### (1) Iterating
     280### (2) Normalisation
     281### (3) JPEG creation --- need to use chip-mosaicked camera
     282
     283
     284
     285###########################################################################################################
     286
     287### Trying some flats
     288
     289
     290pxinject -newExp -exp_id 806237f -inst MegaCam -telescope CFHT -exp_type bias -imfiles 1
     291pxinject -newExp -exp_id 806238f -inst MegaCam -telescope CFHT -exp_type bias -imfiles 1
     292pxinject -newExp -exp_id 806239f -inst MegaCam -telescope CFHT -exp_type bias -imfiles 1
     293pxinject -newExp -exp_id 806240f -inst MegaCam -telescope CFHT -exp_type bias -imfiles 1
     294
     295pxinject -newImfile -exp_id 806237f -class fpa -class_id mc -uri 806237f.fits
     296pxinject -newImfile -exp_id 806238f -class fpa -class_id mc -uri 806238f.fits
     297pxinject -newImfile -exp_id 806239f -class fpa -class_id mc -uri 806239f.fits
     298pxinject -newImfile -exp_id 806240f -class fpa -class_id mc -uri 806240f.fits
     299
     300
     301price@alala:/data/alala/price/megacam/flats>p0tool -pendingimfile -simple
     302806237f fpa mc 806237f.fits
     303806238f fpa mc 806238f.fits
     304806239f fpa mc 806239f.fits
     305806240f fpa mc 806240f.fits
     306
     307### ===>
     308
     309~/ipp/helpers/phase0imfile.pl 806237f mc 806237f.fits
     310~/ipp/helpers/phase0imfile.pl 806238f mc 806238f.fits
     311~/ipp/helpers/phase0imfile.pl 806239f mc 806239f.fits
     312~/ipp/helpers/phase0imfile.pl 806240f mc 806240f.fits
     313
     314
     315price@alala:/data/alala/price/megacam/flats>p0tool -pendingexp -simple
     316806237f MegaCam CFHT bias 1
     317806238f MegaCam CFHT bias 1
     318806239f MegaCam CFHT bias 1
     319806240f MegaCam CFHT bias 1
     320
     321### ===>
     322
     323~/ipp/helpers/phase0exp.pl 806237f
     324~/ipp/helpers/phase0exp.pl 806238f
     325~/ipp/helpers/phase0exp.pl 806239f
     326~/ipp/helpers/phase0exp.pl 806240f
     327
     328
     329### Changing camera configuration file to use the bias we got earlier:
     330   PPIMAGE.BIAS       INPUT bias_mc_1_0.fit               {CHIP.NAME}   {CHIP.NAME}  NONE         CHIP       IMAGE   
     331
     332### Changing ppImage_obd recipe to turn off dark:
     333DARK            BOOL    FALSE           # Dark subtraction
     334
     335
     336### Start the detrend run:
     337
     338price@alala:/data/alala/price/megacam/flats>dettool -definebyquery -det_type flat -camera mc
     339detRun MULTI #
     340 
     341detRun  METADATA
     342   det_id           S32       2
     343   iteration        S32       0
     344   det_type         STR       flat
     345END
     346 
     347
     348price@alala:/data/alala/price/megacam/flats>dettool -raw -simple
     3492 flat 806237f fpa mc 806237f.fits FLAT g.MP9401 1.001000 0.341503 0.348775 99.112000 3687.433111 146.522771 74.441912 88.160000 275.250000 -133.033005 0.000000
     3502 flat 806238f fpa mc 806238f.fits FLAT g.MP9401 1.000000 0.383900 0.348775 99.121002 5208.304792 212.152572 89.617438 89.760000 310.990000 -133.033005 0.000000
     3512 flat 806239f fpa mc 806239f.fits FLAT g.MP9401 1.000000 0.395099 0.348775 80.097000 6311.806444 265.238880 100.970683 89.750000 310.150000 -133.033005 0.000000
     3522 flat 806240f fpa mc 806240f.fits FLAT g.MP9401 1.000000 0.405135 0.348775 60.098999 6957.866556 293.657405 108.000238 89.750000 309.930000 -133.033005 0.000000
     353
     354### ===>
     355
     356
     357~/ipp/helpers/detrend_process.pl 2 806237f mc flat 806237f.fits 806237f
     358~/ipp/helpers/detrend_process.pl 2 806238f mc flat 806238f.fits 806238f
     359~/ipp/helpers/detrend_process.pl 2 806239f mc flat 806239f.fits 806239f
     360~/ipp/helpers/detrend_process.pl 2 806240f mc flat 806240f.fits 806240f
     361
     362### Note: couple hundred psString leaks in ppImage here.
     363
     364
     365price@alala:/data/alala/price/megacam/flats>dettool -tostack -simple
     3662 0 flat mc
     367
     368### ===>
     369
     370price@alala:/data/alala/price/megacam>~/ipp/helpers/detrend_stack.pl 2 0 mc flat
Note: See TracChangeset for help on using the changeset viewer.