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/pmNewNonLinear.c

    r42327 r42330  
    88// model is stored as a FITS table, read into an array
    99// each row is one knot, with (X, Y, dY2)
    10 bool pmNonLinearityApply(pmReadout *inputReadout, psArray *table)
     10bool pmNewNonLinearityApply(pmReadout *inputReadout, psArray *table)
    1111{
     12    PS_ASSERT_PTR_NON_NULL(table, false);
    1213    PS_ASSERT_PTR_NON_NULL(inputReadout, false);
    1314    PS_ASSERT_PTR_NON_NULL(inputReadout->image, false);
    1415    PS_ASSERT_IMAGE_TYPE(inputReadout->image, PS_TYPE_F32, false);
    15     PS_ASSERT_PTR_NON_NULL(Ltab, false);
    1616
    1717    psTimerStart ("nonlinear");
     
    2626        psMetadata *row = table->data[i];
    2727       
     28        bool status;
    2829        model->xKnots[i]   = psMetadataLookupF32(&status, row, "X_KNOT");
    2930        model->yKnots[i]   = psMetadataLookupF32(&status, row, "Y_KNOT");
Note: See TracChangeset for help on using the changeset viewer.