IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2008, 12:43:11 PM (18 years ago)
Author:
Paul Price
Message:

Merging in dual convolution development branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubCamera.c

    r17834 r18289  
    8282
    8383    // Output image
    84     pmFPAfile *output = pmFPAfileDefineSkycell(config, NULL, "PPSUB.OUTPUT");
     84    pmFPAfile *output = pmFPAfileDefineFromFile(config, input, 1, 1, "PPSUB.OUTPUT");
    8585    if (!output) {
    8686        psError(PS_ERR_IO, false, _("Unable to generate output file from PPSUB.OUTPUT"));
     
    9494
    9595    // Output mask
    96     pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PPSUB.OUTPUT.MASK");
     96    pmFPAfile *outMask = pmFPAfileDefineOutput(config, output->fpa, "PPSUB.OUTPUT.MASK");
    9797    if (!outMask) {
    9898        psError(PS_ERR_IO, false, _("Unable to generate output file from PPSUB.OUTPUT.MASK"));
     
    107107    // Output weight
    108108    if (inputWeight && refWeight) {
    109         pmFPAfile *outWeight = pmFPAfileDefineSkycell(config, output->fpa, "PPSUB.OUTPUT.WEIGHT");
     109        pmFPAfile *outWeight = pmFPAfileDefineOutput(config, output->fpa, "PPSUB.OUTPUT.WEIGHT");
    110110        if (!outWeight) {
    111111            psError(PS_ERR_IO, false, _("Unable to generate output file from PPSUB.OUTPUT.WEIGHT"));
     
    119119    }
    120120
     121#if 0
    121122    if (!pmFPAAddSourceFromFormat(output->fpa, "Subtraction", output->format)) {
    122123        psError(PS_ERR_UNKNOWN, false, "Unable to generate output FPA.");
    123124        return false;
    124125    }
     126#endif
    125127
    126128    pmFPAfile *sources = pmFPAfileDefineFromArgs(&status, config, "PPSUB.SOURCES", "PPSUB.SOURCES");
     
    153155
    154156        // Internal-ish file for getting the PSF from the matched addition
    155         pmFPAfile *psf = pmFPAfileDefineSkycell(config, psphot->fpa, "PSPHOT.PSF.LOAD");
     157        pmFPAfile *psf = pmFPAfileDefineOutputFromFile(config, output, "PSPHOT.PSF.LOAD");
    156158        if (!psf) {
    157159            psError(PS_ERR_IO, false, "Failed to build FPA from PSPHOT.PSF.LOAD");
Note: See TracChangeset for help on using the changeset viewer.