Changeset 42331
- Timestamp:
- Jan 30, 2023, 9:43:21 AM (3 years ago)
- Location:
- branches/eam_branches/ppImage.20230123/src
- Files:
-
- 3 edited
-
Makefile.am (modified) (1 diff)
-
ppImage.h (modified) (2 diffs)
-
ppImageDetrendNewNonLinear.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ppImage.20230123/src/Makefile.am
r41894 r42331 23 23 ppImageDetrendRecord.c \ 24 24 ppImageDetrendNonLinear.c \ 25 ppImageDetrendNewNonLinear.c \ 25 26 ppImageDetrendFringe.c \ 26 27 ppImageDetrendFree.c \ -
branches/eam_branches/ppImage.20230123/src/ppImage.h
r42293 r42331 35 35 bool doAuxMask; // apply auxillary mask 36 36 bool doNonLin; // Non-linearity correction 37 bool doNewNonLin; // Non-linearity correction 37 38 bool doOverscan; // Overscan subtraction 38 39 bool doNoiseMap; // Bias subtraction … … 175 176 bool ppImageDetrendBias(pmReadout *inputReadout, pmReadout *bias, pmReadout *dark, ppImageOptions *options); 176 177 178 bool ppImageDetrendNewNonLinear(pmReadout *input, pmFPAview *linearity, pmConfig *config); 179 177 180 bool ppImageDetrendNonLinear(pmReadout *input, pmFPAview *linearity, pmConfig *config); 178 181 bool ppImageDetrendNonLinearLookup(pmReadout *input, psMetadataItem *dataItem); -
branches/eam_branches/ppImage.20230123/src/ppImageDetrendNewNonLinear.c
r42328 r42331 5 5 bool status; 6 6 7 pmFPAfile *linearity_file = psMetadataLookupPtr(&status, config->files, "PPIMAGE. LINEARITY");7 pmFPAfile *linearity_file = psMetadataLookupPtr(&status, config->files, "PPIMAGE.NEWNONLIN"); 8 8 psFits *linearity_fits = linearity_file->fits; 9 9 … … 16 16 // if pmFPAfile has been loaded (by ppImageDefineFile in ppImageParseCamera), then 17 17 // the file corresponding to the current chip is found and opened 18 // NOTE: if the extname is missing, we skip the correction 18 19 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); 21 22 } 22 23
Note:
See TracChangeset
for help on using the changeset viewer.
