Changeset 42718
- Timestamp:
- Aug 14, 2024, 5:23:21 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2dbias/ppImage/src/ppImageDetrendReadout.c
r42679 r42718 153 153 ESCAPE(false, "Unable to determine whether 2D Overscan subtraction should be applied."); 154 154 } 155 // set doTwoDOverscan to False if the cell background is larger than 500 ADU or smaller than zero (peculiar) 156 if (doTwoDOverscan) 157 { 158 float backest = psMetadataLookupF32(NULL, input->parent->concepts, "CELL.BACKEST"); 159 if (!isfinite(backest) || backest > 500 || backest < 0) 160 { 161 doTwoDOverscan = false; 162 } 163 } 155 164 } 156 165 if (!pmOverscanSubtract(input, options->overscan, doTwoDOverscan))
Note:
See TracChangeset
for help on using the changeset viewer.
