IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17016


Ignore:
Timestamp:
Mar 17, 2008, 12:26:43 PM (18 years ago)
Author:
Paul Price
Message:

Fix problem where doing the photometry was removing sources from the output image.

Location:
trunk/ppStack/src
Files:
2 edited

Legend:

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

    r16913 r17016  
    292292        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
    293293        // psphotDefineFiles
    294         pmFPAfile *psphotInput = pmFPAfileDefineOutputFromFile(config, output, "PSPHOT.INPUT");
     294        pmFPAfile *psphotInput = pmFPAfileDefineFromFPA(config, output->fpa, 1, 1, "PSPHOT.INPUT");
    295295        if (!psphotInput) {
    296296            psError(PS_ERR_IO, false, _("Unable to generate output file from PSPHOT.INPUT"));
  • trunk/ppStack/src/ppStackLoop.c

    r17007 r17016  
    2626
    2727// Files for photometry
    28 static char *photFiles[] = { "PSPHOT.OUTPUT", "PSPHOT.RESID", "PSPHOT.BACKMDL",
     28static char *photFiles[] = { "PSPHOT.INPUT", "PSPHOT.OUTPUT", "PSPHOT.RESID", "PSPHOT.BACKMDL",
    2929                             "PSPHOT.BACKMDL.STDEV", "PSPHOT.BACKGND", "PSPHOT.BACKSUB",
    3030                             "SOURCE.PLOT.MOMENTS", "SOURCE.PLOT.PSFMODEL", "SOURCE.PLOT.APRESID",
     
    609609
    610610        // Write out the output files
    611         fileActivation(config, combineFiles, true);
    612611        filesIterateUp(config);
    613612
Note: See TracChangeset for help on using the changeset viewer.