Changeset 20771 for trunk/ppImage/src/ppImageLoop.c
- Timestamp:
- Nov 16, 2008, 4:41:29 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageLoop.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r20444 r20771 95 95 ESCAPE("Unable to detrend readout"); 96 96 } 97 98 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT 99 if (!ppImageDetrendFree (config, view)) { 100 ESCAPE("Unable to free detrend images"); 101 } 97 102 } 98 103 … … 100 105 ppImageDetrendRecord(cell, config, options, view); 101 106 } 102 } 107 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT 108 if (!ppImageDetrendFree (config, view)) { 109 ESCAPE("Unable to free detrend images"); 110 } 111 } 112 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT 113 if (!ppImageDetrendFree (config, view)) { 114 ESCAPE("Unable to free detrend images"); 115 } 103 116 104 117 // Apply the fringe correction … … 108 121 } 109 122 } 123 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT 124 if (!ppImageFringeFree (config, view)) { 125 ESCAPE("Unable to free fringe images"); 126 } 110 127 111 128 // measure various statistics for this image … … 134 151 } 135 152 } 153 154 // these may be used by ppImageSubtractBackground. 155 // if these are defined as internal files, drop them here 156 status = true; 157 status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL"); 158 status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV"); 159 status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND"); 160 if (!status) { 161 psError(PSPHOT_ERR_PROG, false, "trouble dropping internal files"); 162 psFree (view); 163 return false; 164 } 136 165 137 166 // binning (used for display) must take place after the background is replaced, if desired
Note:
See TracChangeset
for help on using the changeset viewer.
