Changeset 42338 for trunk/psModules/src/detrend/pmOverscan.c
- Timestamp:
- Jan 30, 2023, 9:53:40 AM (3 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
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/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.
