IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links
wiki:GPC1_FlatField_Correction_20091003

Version 2 (modified by eugene, 17 years ago) ( diff )

--

Flat-field Correction Analysis (GPC1 2009.10)

  • Generate a flat-field correction analysis run selecting an appropriate set of observations:
    set options = "-simple -dbname gpc1 -definebyquery"
    set options = "$options -set_label flatcorr.20091003"
    set options = "$options -dateobs_begin 2009-06-10T00:00:00 -dateobs_end 2009-06-14T00:00:00"
    set options = "$options -comment %sdss_radec_photcorr%"
    set options = "$options -set_workdir neb://@HOST@.0/gpc1/flatcorr.20091003"
    set options = "$options -set_dvodb /data/ipp009.0/gpc1/flatcorr.20091003"
    
    flatcorr $options -filter g.00000
    flatcorr $options -filter r.00000
    flatcorr $options -filter i.00000
    flatcorr $options -filter z.00000
    flatcorr $options -filter y.00000
    
  • Apply the corrections:
    dettool -makecorrection -det_type FLATTEST -det_id 105 -iteration 0 -workdir neb://@HOST@.0/gpc1/flatcorr.20091003 -dbname gpc1
    dettool -makecorrection -det_type FLATTEST -det_id 106 -iteration 0 -workdir neb://@HOST@.0/gpc1/flatcorr.20091003 -dbname gpc1
    dettool -makecorrection -det_type FLATTEST -det_id 107 -iteration 0 -workdir neb://@HOST@.0/gpc1/flatcorr.20091003 -dbname gpc1
    dettool -makecorrection -det_type FLATTEST -det_id 109 -iteration 0 -workdir neb://@HOST@.0/gpc1/flatcorr.20091003 -dbname gpc1
    dettool -makecorrection -det_type FLATTEST -det_id 110 -iteration 0 -workdir neb://@HOST@.0/gpc1/flatcorr.20091003 -dbname gpc1
    
  • Test the corrections:
    set options = "-simple -dbname gpc1 -definebyquery -mode flattest -reduction flattest"
    set options = "$options -set_label flatcorr.20091003"
    set options = "$options -dateobs_begin 2009-06-10T00:00:00 -dateobs_end 2009-06-14T00:00:00"
    set options = "$options -comment %sdss_radec_photcorr%"
    set options = "$options -set_workdir neb://@HOST@.0/gpc1/flatcorr.20091003"
    set options = "$options -set_dvodb /data/ipp009.0/gpc1/flatcorr.20091003"
    
    flatcorr $options -filter g.00000
    flatcorr $options -filter r.00000
    flatcorr $options -filter i.00000
    flatcorr $options -filter z.00000
    flatcorr $options -filter y.00000
    
Note: See TracWiki for help on using the wiki.