IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2023, 11:57:40 AM (3 years ago)
Author:
eugene
Message:

merge from eam_branches/ipp-20220316. add code for PatternDeadCells, fix organization of DetrendPattern, handle psphotModelBackground failure

Location:
trunk/ppImage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage

  • trunk/ppImage/src/ppImageParseCamera.c

    r42340 r42382  
    201201            // an empty or invalid file may have been generated -- we want to skip, not raise an error
    202202            pmFPAfile *PRAfile = psMetadataLookupPtr (NULL, config->files, "PPIMAGE.PATTERN.ROW.AMP");
     203            if (PRAfile) {
     204              PRAfile->state |= PM_FPA_STATE_INACTIVE;
     205            }
     206        }
     207    }
     208    if (options->doPatternDeadCells) {
     209        if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.PATTERN.DEAD.CELLS", "PATTERN.DEAD.CELLS",
     210                               PM_FPA_FILE_PATTERN_DEAD_CELLS, PM_DETREND_TYPE_PATTERN_DEAD_CELLS)) {
     211            psWarning ("Can't find a pattern dead cells source");
     212            // an empty or invalid file may have been generated -- we want to skip, not raise an error
     213            pmFPAfile *PRAfile = psMetadataLookupPtr (NULL, config->files, "PPIMAGE.PATTERN.DEAD.CELLS");
    203214            if (PRAfile) {
    204215              PRAfile->state |= PM_FPA_STATE_INACTIVE;
Note: See TracChangeset for help on using the changeset viewer.