Changeset 25875 for trunk/ppImage/src/ppImageLoop.c
- Timestamp:
- Oct 18, 2009, 10:42:16 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r25847 r25875 99 99 } 100 100 101 // perform the detrend analysis102 if (!ppImageParityFlip(config, options, view)) {101 // flip the image to match the native detector orientation (to match bias, flat, etc) 102 if (!ppImageParityFlip(config, options, view, true)) { 103 103 ESCAPE("Unable to detrend readout"); 104 104 } 105 106 // XXX TEST:107 // psphotSaveImage (NULL, readout->image, "test.image.fits");108 105 109 106 // XXX set the options->*Mask values here (after the mask images have been loaded … … 132 129 ppImageDetrendRecord(cell, config, options, view); 133 130 } 131 132 // process each of the readouts 133 // XXX reset the view to the first readout? 134 while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) { 135 if (!readout->data_exists) { 136 continue; 137 } 138 // flip the image to match the raw readout orientation 139 if (!ppImageParityFlip(config, options, view, false)) { 140 ESCAPE("Unable to detrend readout"); 141 } 142 } 143 134 144 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT 135 145 if (!ppImageDetrendFree (config, view)) { … … 161 171 } 162 172 timeDetrend += psTimerClear(TIMER_DETREND); 163 164 173 165 174 // we perform photometry on the readouts of this chip in the output
Note:
See TracChangeset
for help on using the changeset viewer.
