IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 13, 2022, 10:53:25 AM (4 years ago)
Author:
eugene
Message:

add PATTERN.DEAD.CELLS option; split ppImageDetrendPattern into separate functions for the 4 different options; functions like ppImageDetrendFringeApply and ppImageDetrendPatternApply now test the relevant option and return true if not selected (no need to check the option in the calling function)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/ppImage/src/ppImageParseCamera.c

    r41894 r42167  
    190190            // an empty or invalid file may have been generated -- we want to skip, not raise an error
    191191            pmFPAfile *PRAfile = psMetadataLookupPtr (NULL, config->files, "PPIMAGE.PATTERN.ROW.AMP");
     192            if (PRAfile) {
     193              PRAfile->state |= PM_FPA_STATE_INACTIVE;
     194            }
     195        }
     196    }
     197    if (options->doPatternDeadCells) {
     198        if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.PATTERN.DEAD.CELLS", "PATTERN.DEAD.CELLS",
     199                               PM_FPA_FILE_PATTERN_DEAD_CELLS, PM_DETREND_TYPE_PATTERN_DEAD_CELLS)) {
     200            psWarning ("Can't find a pattern dead cells source");
     201            // an empty or invalid file may have been generated -- we want to skip, not raise an error
     202            pmFPAfile *PRAfile = psMetadataLookupPtr (NULL, config->files, "PPIMAGE.PATTERN.DEAD.CELLS");
    192203            if (PRAfile) {
    193204              PRAfile->state |= PM_FPA_STATE_INACTIVE;
Note: See TracChangeset for help on using the changeset viewer.