Changeset 7585
- Timestamp:
- Jun 15, 2006, 5:20:44 PM (20 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 3 edited
-
ppImageDetrendBias.c (modified) (2 diffs)
-
ppImageDetrendReadout.c (modified) (2 diffs)
-
ppImageLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageDetrendBias.c
r6817 r7585 6 6 // psMetadataPrint(inputReadout->parent->concepts, 7); 7 7 8 pmSubtractBias(inputReadout, options->overscan, bias, dark); 8 if (!pmSubtractBias(inputReadout, options->overscan, bias, dark)) { 9 return false; 10 } 9 11 10 12 // Output overscan fit results, if required … … 52 54 psAbort(__func__, "Should never get here!!!\n"); 53 55 } 54 55 56 return true; 56 57 } -
trunk/ppImage/src/ppImageDetrendReadout.c
r7581 r7585 40 40 // Bias, dark and overscan subtraction are all merged. 41 41 if (options->doBias || options->doDark || options->doOverscan) { 42 ppImageDetrendBias(input, bias, dark, options); 42 if (!ppImageDetrendBias(input, bias, dark, options)) { 43 return false; 44 } 43 45 } 44 46 … … 46 48 if (options->doFlat) { 47 49 pmReadout *flat = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.FLAT"); 48 pmFlatField(input, flat); 50 if (!pmFlatField(input, flat)) { 51 return false; 52 } 49 53 } 50 54 -
trunk/ppImage/src/ppImageLoop.c
r7581 r7585 35 35 36 36 // perform the detrend analysis 37 ppImageDetrendReadout (config, options, view);37 if (!ppImageDetrendReadout (config, options, view)) return false; 38 38 39 39 if (options->doBin1) ppImageRebinReadout (config, view, "PPIMAGE.BIN1");
Note:
See TracChangeset
for help on using the changeset viewer.
