IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 25, 2010, 9:09:13 PM (16 years ago)
Author:
Paul Price
Message:

Allow pattern subtraction to be turned on according to the chip. More generally, added a function, pmConfigRecipeValueByView that treats a recipe item as a menu of chips and optional cells. Turned pattern subtraction off by default for gpc1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageLoop.c

    r25930 r26682  
    100100
    101101                // flip the image to match the native detector orientation (to match bias, flat, etc)
    102                 if (!ppImageParityFlip(config, options, view, true)) {
     102                if (!ppImageParityFlip(config, options, view, true)) {
    103103                    ESCAPE("Unable to detrend readout");
    104104                }
     
    131131
    132132            // process each of the readouts
    133             // XXX reset the view to the first readout?
     133            // XXX reset the view to the first readout?
    134134            while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) {
    135135                if (!readout->data_exists) {
     
    140140                    ESCAPE("Unable to detrend readout");
    141141                }
    142             }
     142            }
    143143
    144144            // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
     
    163163        }
    164164
    165         // Apply the pattern noise correction
    166         if (options->doPattern) {
    167           if (!ppImageDetrendPatternApply(config,chip,view,options)) {
    168             ESCAPE("Unable to apply pattern corrections");
    169           }
    170         }
    171        
     165        // Apply the pattern noise correction
     166        if (options->doPattern) {
     167          if (!ppImageDetrendPatternApply(config,chip,view,options)) {
     168            ESCAPE("Unable to apply pattern corrections");
     169          }
     170        }
     171
    172172        // measure various pixel-based statistics for this image
    173173        if (!ppImagePixelStats(config, stats, options, view)) {
Note: See TracChangeset for help on using the changeset viewer.