Changeset 43057
- Timestamp:
- Jul 3, 2026, 2:57:00 PM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/psModules/src/detrend/pmShutterCorrection.c
r34085 r43057 1009 1009 // use the sorted exptime, counts, and errors for the measurements 1010 1010 pmShutterCorrection *guess = pmShutterCorrectionGuess(newtimes, newcounts); // Guess at correction 1011 if (!guess) { 1012 psError(PS_ERR_UNKNOWN, true, "Unable to measure correction.\n"); 1013 return NAN; 1014 } 1011 1015 psTrace("psModules.detrend", 5, "Shutter correction guess: scale: %f, offset: %f, offref: %f\n", guess->scale, guess->offset, guess->offref); 1012 1016 … … 1034 1038 if (numGood == 0) { 1035 1039 psError(PS_ERR_UNKNOWN, true, "Unable to measure mean reference offset.\n"); 1036 return false;1040 return NAN; 1037 1041 } 1038 1042 meanRef /= (float)numGood;
Note:
See TracChangeset
for help on using the changeset viewer.
