IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 4, 2023, 12:14:11 PM (3 years ago)
Author:
eugene
Message:

merge changes from trunk: new nonlinearity, new shutter time keywords, allow detections under CTE masks

Location:
branches/eam_branches/ipp-20220316/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/psModules

  • branches/eam_branches/ipp-20220316/psModules/src/detrend/pmOverscan.c

    r42352 r42371  
    140140        break;
    141141      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");
    146150        break;
    147151      default:
     
    189193      }
    190194      case PM_FIT_SPLINE: {
     195        /*
    191196          psSpline1D *spline = overscanOpts->spline; // The spline
    192197          for (int i = 0; i < spline->n; i++) {
     
    201206              comment = NULL;
    202207          }
     208        */
    203209          // write metadata header value
    204210          psMetadataAddF32(hdu->header, PS_LIST_TAIL, "OVER_VAL", PS_META_REPLACE,
Note: See TracChangeset for help on using the changeset viewer.