IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40485 for trunk/ippScripts


Ignore:
Timestamp:
Jun 27, 2018, 3:41:23 PM (8 years ago)
Author:
eugene
Message:

add FLATTEST detrend type to generate a flat without breaking things

Location:
trunk/ippScripts/scripts
Files:
5 edited

Legend:

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

    r39505 r40485  
    8888    'SKYFLATTEST_RAW'  => 'FLAT',
    8989    'FLAT'             => 'FLAT',
     90    'FLATTEST'         => 'FLAT',
    9091    'DOMEFLAT'         => 'FLAT',
    9192    'SKYFLAT'          => 'FLAT',
  • trunk/ippScripts/scripts/detrend_norm_calc.pl

    r40404 r40485  
    8080    'SKYFLATTEST_RAW'  => 1,
    8181    'FLAT'             => 1,
     82    'FLATTEST'         => 1,
    8283    'DOMEFLAT'         => 1,
    8384    'SKYFLAT'          => 1,
     
    199200        if ($normalisation == 0.0 or lc($normalisation) eq 'nan') {
    200201            warn("Class $className has bad normalisation: $normalisation");
    201             exit($PS_EXIT_SYS_ERROR);
     202            # exit($PS_EXIT_SYS_ERROR);
    202203        }
    203204
     
    212213        if (not run \@command, \$stdin, \$stdout, \$stderr) {
    213214            warn("Unable to perform dettool -addnormstat for $className: $?");
    214             exit($PS_EXIT_SYS_ERROR);
     215            # exit($PS_EXIT_SYS_ERROR);
    215216        }
    216217        print $stdout . "\n" if $verbose;
     
    225226        if ($normalisation == 0.0 or lc($normalisation) eq 'nan') {
    226227            warn("Class $className has bad normalisation: $normalisation");
    227             exit($PS_EXIT_SYS_ERROR);
     228            # exit($PS_EXIT_SYS_ERROR);
    228229        }
    229230        print "$className : $normalisation\n";
  • trunk/ippScripts/scripts/detrend_process_imfile.pl

    r39707 r40485  
    9797                  'SKYFLATTEST_RAW'  => 'PPIMAGE.OUTPUT.DETREND',
    9898                  'FLAT'             => 'PPIMAGE.OUTPUT.DETREND',
     99                  'FLATTEST'         => 'PPIMAGE.OUTPUT.DETREND',
    99100                  'DOMEFLAT'         => 'PPIMAGE.OUTPUT.DETREND',
    100101                  'SKYFLAT'          => 'PPIMAGE.OUTPUT.DETREND',
  • trunk/ippScripts/scripts/detrend_resid_imfile.pl

    r33666 r40485  
    114114    'SKYFLATTEST_RAW'  => '-flat',      # Specify the flat frame
    115115    'FLAT'             => '-flat',      # Specify the flat frame
     116    'FLATTEST'         => '-flat',      # Specify the flat frame
    116117    'DOMEFLAT'         => '-flat',      # Specify the flat frame
    117118    'SKYFLAT'          => '-flat',      # Specify the flat frame
     
    142143                  'SKYFLATTEST_RAW'  => 'PPIMAGE.OUTPUT.DETREND',
    143144                  'FLAT'             => 'PPIMAGE.OUTPUT.DETREND',
     145                  'FLATTEST'         => 'PPIMAGE.OUTPUT.DETREND',
    144146                  'DOMEFLAT'         => 'PPIMAGE.OUTPUT.DETREND',
    145147                  'SKYFLAT'          => 'PPIMAGE.OUTPUT.DETREND',
  • trunk/ippScripts/scripts/detrend_stack.pl

    r33666 r40485  
    9292                  'SKYFLATTEST_RAW'  => 'PPMERGE.OUTPUT.FLAT',
    9393                  'FLAT'             => 'PPMERGE.OUTPUT.FLAT',
     94                  'FLATTEST'         => 'PPMERGE.OUTPUT.FLAT',
    9495                  'DOMEFLAT'         => 'PPMERGE.OUTPUT.FLAT',
    9596                  'SKYFLAT'          => 'PPMERGE.OUTPUT.FLAT',
     
    118119                   'SKYFLATTEST_RAW'  => 'DETSTATS',
    119120                   'FLAT'             => 'DETSTATS',
     121                   'FLATTEST'         => 'DETSTATS',
    120122                   'DOMEFLAT'         => 'DETSTATS',
    121123                   'SKYFLAT'          => 'DETSTATS',
Note: See TracChangeset for help on using the changeset viewer.