IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 25, 2008, 4:11:47 PM (18 years ago)
Author:
eugene
Message:

adding code to parse the full metadata set, including dtime entries for chip,cam,warp,diff,stack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/camera_exp.pl

    r16196 r16247  
    7373
    7474# values to extract from output metadata and the stats to calculate
     75# these should be coming from the psastro results for Nimfile > 1,
    7576my $CHIPSTATS =
    7677    [   
    7778        #          PPSTATS KEYWORD         STATISTIC          CHIPTOOL FLAG
    7879        { name => "bg",             type => "mean",  flag => "-bg",             dtype => "float" },
     80        { name => "bg_stdev",       type => "rms",   flag => "-bg_stdev",       dtype => "float" }, 
    7981        { name => "bg_mean_stdev",  type => "stdev", flag => "-bg_mean_stdev",  dtype => "float" },
    80         { name => "bg_stdev",       type => "rms",   flag => "-bg_stdev",       dtype => "float" }, 
    81 
    82 # these should be coming from the psastro results for Nimfile > 1,
     82        { name => "bias",           type => "mean",  flag => "-bias",           dtype => "float" }, 
     83        { name => "bias_stdev",     type => "rms",   flag => "-bias_stdev",     dtype => "float" }, 
     84        { name => "fringe_0",       type => "mean",  flag => "-fringe_0",       dtype => "float" }, 
     85        { name => "fringe_1",       type => "rms",   flag => "-fringe_1",       dtype => "float" }, 
     86        { name => "fringe_0",       type => "stdev", flag => "-fringe_2",       dtype => "float" }, 
    8387        { name => "sigma_ra",       type => "rms",   flag => "-sigma_ra",       dtype => "float" }, 
    8488        { name => "sigma_dec",      type => "rms",   flag => "-sigma_dec",      dtype => "float" }, 
     89        { name => "ap_resid",       type => "mean",  flag => "-ap_resid",       dtype => "float" }, 
     90        { name => "ap_resid_stdev", type => "rms",   flag => "-ap_resid_stdev", dtype => "float" }, 
     91        { name => "zp_mean",        type => "mean",  flag => "-zp_mean",        dtype => "float" }, 
     92        { name => "zp_stdev",       type => "rms",   flag => "-zp_stdev",       dtype => "float" }, 
     93        { name => "fwhm_major",     type => "mean",  flag => "-fwhm_major",     dtype => "float" }, 
     94        { name => "fwhm_minor",     type => "mean",  flag => "-fwhm_minor",     dtype => "float" }, 
     95        { name => "dtime_detrend",  type => "sum",   flag => "-dtime_detrend",  dtype => "float" }, 
     96        { name => "dtime_photom",   type => "sum",   flag => "-dtime_photom",   dtype => "float" }, 
     97        { name => "dtime_astrom",   type => "sum",   flag => "-dtime_astrom",   dtype => "float" }, 
    8598        { name => "n_stars",        type => "sum",   flag => "-n_stars",        dtype => "int"   }, 
     99        { name => "n_extended",     type => "sum",   flag => "-n_extended",     dtype => "int"   }, 
     100        { name => "n_cr",           type => "sum",   flag => "-n_cr",           dtype => "int"   }, 
    86101        { name => "n_astrom",       type => "sum",   flag => "-n_astrom",       dtype => "int"   }, 
    87102
    88         { name => "fwhm",           type => "mean",  flag => "-fwhm",           dtype => "float" }, 
    89103
    90104# these are not defined for the database table camProcessedExp
    91 #       { name => "ap_resid",       type => "mean",  flag => "-ap_resid",       dtype => "float" }, 
    92 #       { name => "ap_resid_stdev", type => "rms",   flag => "-ap_resid_stdev", dtype => "float" }, 
    93 #       { name => "fringe_0",       type => "mean",  flag => "-fringe_0",       dtype => "float" }, 
    94 #       { name => "fringe_1",       type => "rms",   flag => "-fringe_1",       dtype => "float" }, 
    95 #       { name => "fringe_0",       type => "stdev", flag => "-fringe_2",       dtype => "float" }, 
    96105        ];
    97106my $chipStats = PS::IPP::Metadata::Stats->new($CHIPSTATS); # Stats parser
Note: See TracChangeset for help on using the changeset viewer.