IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2023, 9:43:21 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ppImage.20230123/src/ppImageDetrendNewNonLinear.c

    r42328 r42331  
    55    bool status;
    66
    7     pmFPAfile *linearity_file = psMetadataLookupPtr(&status, config->files, "PPIMAGE.LINEARITY");
     7    pmFPAfile *linearity_file = psMetadataLookupPtr(&status, config->files, "PPIMAGE.NEWNONLIN");
    88    psFits *linearity_fits = linearity_file->fits;
    99
     
    1616    // if pmFPAfile has been loaded (by ppImageDefineFile in ppImageParseCamera), then
    1717    // the file corresponding to the current chip is found and opened
     18    // NOTE: if the extname is missing, we skip the correction
    1819    if (!psFitsMoveExtName(linearity_fits, extname)) {
    19         psError(PS_ERR_IO, false, "Unable to move to non-linearity (v2023) table %s", extname);
    20         return(false);
     20        psLogMsg ("ppImageDetrendNewNonLinear", 4, "Unable to move to non-linearity (v2023) table %s, skipping", extname);
     21        return(true);
    2122    }
    2223 
Note: See TracChangeset for help on using the changeset viewer.