- Timestamp:
- Aug 17, 2023, 4:39:42 PM (3 years ago)
- Location:
- branches/eam_branches/ipp-20230313/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/detrend/pmNewNonLinear.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psModules
- Property svn:mergeinfo changed
/trunk/psModules (added) merged: 42448,42469,42479,42481,42484
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20230313/psModules/src/detrend/pmNewNonLinear.c
r42338 r42528 39 39 // Calculate correction factor contribution for this pixel. 40 40 psF32 flux = image->data.F32[i][j]; 41 psF32 lFlux = log10(flux);41 psF32 lFlux = (flux > 1.0) ? log10(flux) : 0.0; // do not introduce NANs for negative flux 42 42 43 43 psF32 factor = psSpline1DEval (model, lFlux);
Note:
See TracChangeset
for help on using the changeset viewer.
