Changeset 42338 for trunk/psModules/src/detrend
- Timestamp:
- Jan 30, 2023, 9:53:40 AM (3 years ago)
- Location:
- trunk/psModules
- Files:
-
- 4 edited
- 2 copied
-
. (modified) (1 prop)
-
src/detrend/Makefile.am (modified) (2 diffs)
-
src/detrend/pmDetrendDB.h (modified) (1 diff)
-
src/detrend/pmNewNonLinear.c (copied) (copied from branches/eam_branches/psModules.20230123/src/detrend/pmNewNonLinear.c )
-
src/detrend/pmNewNonLinear.h (copied) (copied from branches/eam_branches/psModules.20230123/src/detrend/pmNewNonLinear.h )
-
src/detrend/pmOverscan.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/psModules.20230123 (added) merged: 42322,42327,42330,42337
- Property svn:mergeinfo changed
-
trunk/psModules/src/detrend/Makefile.am
r28043 r42338 10 10 pmMaskStats.c \ 11 11 pmNonLinear.c \ 12 pmNewNonLinear.c \ 12 13 pmBias.c \ 13 14 pmOverscan.c \ … … 30 31 pmMaskStats.h \ 31 32 pmNonLinear.h \ 33 pmNewNonLinear.h \ 32 34 pmBias.h \ 33 35 pmOverscan.h \ -
trunk/psModules/src/detrend/pmDetrendDB.h
r41892 r42338 39 39 PM_DETREND_TYPE_VIDEODARK, 40 40 PM_DETREND_TYPE_LINEARITY, 41 PM_DETREND_TYPE_NEWNONLIN, 41 42 PM_DETREND_TYPE_AUXMASK, 42 43 PM_DETREND_TYPE_KH_CORRECT, -
trunk/psModules/src/detrend/pmOverscan.c
r39499 r42338 136 136 break; 137 137 case PM_FIT_SPLINE: 138 // XXX I don't think psSpline1D is up to scratch yet --- it has no mask, and requires an 139 // input spline 140 overscanOpts->spline = psVectorFitSpline1D(reduced, ordinate); 141 fitted = psSpline1DEvalVector(overscanOpts->spline, ordinate); 138 139 // XXX I don't think psSpline1D is up to scratch yet --- it has no mask, and it assumes 140 // a knot for every input point. it needs an argument like 'number of knots' for the 141 // output spline. EAM: still true 2023.01.22 142 143 // overscanOpts->spline = psVectorFitSpline1D(reduced, ordinate); 144 // fitted = psSpline1DEvalVector(overscanOpts->spline, ordinate); 145 psError(PS_ERR_UNKNOWN, true, "Spline overscan fitting is broken\n"); 142 146 break; 143 147 default: … … 185 189 } 186 190 case PM_FIT_SPLINE: { 191 /* 187 192 psSpline1D *spline = overscanOpts->spline; // The spline 188 193 for (int i = 0; i < spline->n; i++) { … … 197 202 comment = NULL; 198 203 } 204 */ 199 205 // write metadata header value 200 206 psMetadataAddF32(hdu->header, PS_LIST_TAIL, "OVER_VAL", PS_META_REPLACE,
Note:
See TracChangeset
for help on using the changeset viewer.
