Changeset 13956
- Timestamp:
- Jun 22, 2007, 1:25:59 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmBias.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmBias.c
r13920 r13956 487 487 } 488 488 489 float darkNorm = 1.0; 489 490 float inNorm = pmFPADarkNorm(inRO->parent->parent->parent, view, inTime); 490 float darkNorm = pmFPADarkNorm(darkRO->parent->parent->parent, view, darkTime); 491 if (isnan(inNorm) || isnan(darkNorm)) { 491 492 // if we have a normalized dark exposure, we simply multiply the master by inNorm. if 493 // we do not have a normalized exposure, we have to scale the master as well. XXX do 494 // we need to explicitly identify the master as normalized? 495 496 if (darkTime != 1.0) { 497 darkNorm = pmFPADarkNorm(darkRO->parent->parent->parent, view, darkTime); 498 } 499 500 if (isnan(inNorm) || isnan(darkNorm)) { 492 501 psError(PS_ERR_UNKNOWN, false, "Unable to determine dark normalisations."); 493 502 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
