IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 28, 2022, 4:13:55 PM (4 years ago)
Author:
eugene
Message:

fpcamera now reads in the chip image, mask, variance; generates pmSources and loads them on the analysis MD; saves the residual image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/fpcamera/src/fpcameraParseCamera.c

    r42182 r42183  
    3434    output->save = true;
    3535
     36    // optionally save the residual image
     37    if (psMetadataLookupBool(&status, config->arguments, "SAVE.RESID")) {
     38        pmFPAfile *output = pmFPAfileDefineOutputFromFile (config, input, "FPCAMERA.RESID");
     39        if (!output) ESCAPE(FPCAMERA_ERR_CONFIG, "Cannot find a rule for FPCAMERA.RESID");
     40        output->save = true;
     41    }
     42
    3643    // Chip selection: turn on only the chips specified (option is not required)
    3744    char *chipLine = psMetadataLookupStr(&status, config->arguments, "CHIP_SELECTIONS");
Note: See TracChangeset for help on using the changeset viewer.