IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14848


Ignore:
Timestamp:
Sep 14, 2007, 4:18:00 PM (19 years ago)
Author:
Paul Price
Message:

Fixing up photometry --- need to copy the result over so it can be used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackReadout.c

    r14834 r14848  
    320320    psFree(cellList);
    321321
    322     if (photometry && !psphotReadout(config, view)) {
    323         psError(psErrorCodeLast(), false, "Unable to perform photometry on stacked image.\n");
    324         return false;
    325     }
    326 
    327 
    328 
     322    if (photometry)
     323        pmFPAfile *photFile = psMetadataLookupPtr(NULL, config->files, "PSPHOT.INPUT");
     324        pmFPACopy(photFile->fpa, outRO->parent->parent->parent);
     325
     326        if (!psphotReadout(config, view)) {
     327            psError(psErrorCodeLast(), false, "Unable to perform photometry on stacked image.\n");
     328            return false;
     329        }
     330
     331        pmFPAfileActivate(config->files, false, "PSPHOT.INPUT");
     332    }
    329333
    330334    psFree(stack);
Note: See TracChangeset for help on using the changeset viewer.