IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2021, 6:07:14 PM (5 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-dev-20210817 (threaded analysis of pattern row, add pattern row amplitude file I/O)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageParseCamera.c

    r36169 r41894  
    117117        pmDetrendSetThreadTasks(nScanRows);
    118118    }
     119    ppImageSetThreads (); // even if threading is off, we need to identify the ppImageDetrendPattern thread function
    119120
    120121    if (options->doPatternRow || options->doPatternCell) {
     
    180181            psError (PS_ERR_IO, false, "Can't find a fringe image source");
    181182            return NULL;
     183        }
     184    }
     185
     186    if (options->doPatternRow) {
     187        if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.PATTERN.ROW.AMP", "PATTERN.ROW.AMP",
     188                               PM_FPA_FILE_PATTERN_ROW_AMP, PM_DETREND_TYPE_PATTERN_ROW_AMP)) {
     189            psWarning ("Can't find a pattern row amplitude source, will apply to all cells or defined subset");
     190            // an empty or invalid file may have been generated -- we want to skip, not raise an error
     191            pmFPAfile *PRAfile = psMetadataLookupPtr (NULL, config->files, "PPIMAGE.PATTERN.ROW.AMP");
     192            if (PRAfile) {
     193              PRAfile->state |= PM_FPA_STATE_INACTIVE;
     194            }
    182195        }
    183196    }
Note: See TracChangeset for help on using the changeset viewer.