IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12820


Ignore:
Timestamp:
Apr 12, 2007, 9:31:52 AM (19 years ago)
Author:
eugene
Message:

changed psphotInput to be defined FROM fpa rather than linked to an fpa

File:
1 edited

Legend:

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

    r12807 r12820  
    160160        return NULL;
    161161    }
     162    // XXX should these be bound explicitly to the output->fpa rather than the input->fpa?
    162163    pmFPAfile *byChip = pmFPAfileDefineChipMosaic(config, input->fpa, "PPIMAGE.OUTPUT.CHIP");
    163164    if (!byChip) {
     
    180181
    181182    // For photometry, we operate on the chip-mosaicked image
     183    // we create a copy of the mosaicked image for psphot so we can write out a clean image
    182184    if (options->doPhotom) {
    183         pmFPAfile *psphotInput = pmFPAfileDefineInput (config, byChip->fpa, "PSPHOT.INPUT");
     185        pmFPAfile *psphotInput = pmFPAfileDefineFromFPA (config, byChip->fpa, 1, 1, "PSPHOT.INPUT");
    184186        PS_ASSERT (psphotInput, false);
    185         psphotInput->mode = PM_FPA_MODE_REFERENCE;
     187
     188        // this file is just used as a carrier;
     189        // actual output files (eg, PSPHOT.RESID) are defined below
     190        psphotInput->save = false;
    186191
    187192        // define associated psphot input/output files
Note: See TracChangeset for help on using the changeset viewer.