IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2023, 9:42:43 AM (3 years ago)
Author:
eugene
Message:

adding code to support the new (2023.01.30) non-linearity analysis based on new models determined by Hua Gao; deactivate spline option for overscan (was never correctly defined)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psModules.20230123/src/detrend/pmOverscan.c

    r42327 r42330  
    141141        // output spline.  EAM: still true 2023.01.22
    142142
    143         overscanOpts->spline = psVectorFitSpline1D(reduced, ordinate);
    144         fitted = psSpline1DEvalVector(overscanOpts->spline, ordinate);
     143        // overscanOpts->spline = psVectorFitSpline1D(reduced, ordinate);
     144        // fitted = psSpline1DEvalVector(overscanOpts->spline, ordinate);
     145        psError(PS_ERR_UNKNOWN, true, "Spline overscan fitting is broken\n");
    145146        break;
    146147      default:
     
    188189      }
    189190      case PM_FIT_SPLINE: {
     191        /*
    190192          psSpline1D *spline = overscanOpts->spline; // The spline
    191193          for (int i = 0; i < spline->n; i++) {
     
    200202              comment = NULL;
    201203          }
     204        */
    202205          // write metadata header value
    203206          psMetadataAddF32(hdu->header, PS_LIST_TAIL, "OVER_VAL", PS_META_REPLACE,
Note: See TracChangeset for help on using the changeset viewer.