Changeset 22734 for trunk/ppImage/src/ppImageLoop.c
- Timestamp:
- Mar 2, 2009, 10:48:12 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r21183 r22734 28 28 if (dump_file) { 29 29 pmConfigCamerasCull(config, NULL); 30 pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO ");30 pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO,JPEG"); 31 31 32 32 pmConfigDump(config, input->fpa, dump_file); … … 96 96 } 97 97 98 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT99 if (!ppImageDetrendFree (config, view)) {100 ESCAPE("Unable to free detrend images");101 }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 } 102 102 } 103 103 … … 105 105 ppImageDetrendRecord(cell, config, options, view); 106 106 } 107 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT108 if (!ppImageDetrendFree (config, view)) {109 ESCAPE("Unable to free detrend images");110 }111 } 112 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT113 if (!ppImageDetrendFree (config, view)) {114 ESCAPE("Unable to free detrend images");115 }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 } 116 116 117 117 // Apply the fringe correction … … 121 121 } 122 122 } 123 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT124 if (!ppImageFringeFree (config, view)) {125 ESCAPE("Unable to free fringe images");126 }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 } 127 127 128 128 // measure various pixel-based statistics for this image … … 152 152 } 153 153 154 // these may be used by ppImageSubtractBackground.155 // if these are defined as internal files, drop them here156 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 }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 } 165 165 166 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.
