- Timestamp:
- Feb 4, 2023, 12:14:11 PM (3 years ago)
- Location:
- branches/eam_branches/ipp-20220316/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/detrend/pmOverscan.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/psModules
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20220316/psModules/src/detrend/pmOverscan.c
r42352 r42371 140 140 break; 141 141 case PM_FIT_SPLINE: 142 // XXX I don't think psSpline1D is up to scratch yet --- it has no mask, and requires an 143 // input spline 144 overscanOpts->spline = psVectorFitSpline1D(reduced, ordinate); 145 fitted = psSpline1DEvalVector(overscanOpts->spline, ordinate); 142 143 // XXX I don't think psSpline1D is up to scratch yet --- it has no mask, and it assumes 144 // a knot for every input point. it needs an argument like 'number of knots' for the 145 // output spline. EAM: still true 2023.01.22 146 147 // overscanOpts->spline = psVectorFitSpline1D(reduced, ordinate); 148 // fitted = psSpline1DEvalVector(overscanOpts->spline, ordinate); 149 psError(PS_ERR_UNKNOWN, true, "Spline overscan fitting is broken\n"); 146 150 break; 147 151 default: … … 189 193 } 190 194 case PM_FIT_SPLINE: { 195 /* 191 196 psSpline1D *spline = overscanOpts->spline; // The spline 192 197 for (int i = 0; i < spline->n; i++) { … … 201 206 comment = NULL; 202 207 } 208 */ 203 209 // write metadata header value 204 210 psMetadataAddF32(hdu->header, PS_LIST_TAIL, "OVER_VAL", PS_META_REPLACE,
Note:
See TracChangeset
for help on using the changeset viewer.
