IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2009, 11:42:05 AM (17 years ago)
Author:
Paul Price
Message:

Working on getting unconvolved stack out at the same time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppStack/src/ppStackCombinePrepare.c

    r23576 r25787  
    3333    pmCell *outCell = pmFPAfileThisCell(config->files, view, "PPSTACK.OUTPUT"); // Output cell
    3434    options->outRO = pmReadoutAlloc(outCell); // Output readout
     35    options->unconvRO = pmReadoutAlloc(outCell); // Unconvolved readout
    3536    psFree(view);
    3637
     
    3940    psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits to mask for bad
    4041    psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels
     42
    4143    if (!pmReadoutStackDefineOutput(options->outRO, col0, row0, numCols, numRows, true, true, maskBad)) {
    4244        psError(PS_ERR_UNKNOWN, false, "Unable to prepare output.");
     
    4446    }
    4547
     48    options->unconvRO->image = psImageCopy(NULL, options->outRO->image, PS_TYPE_F32);
     49//    options->unconvRO->mask = psImageCopy(NULL, options->outRO->mask, PS_TYPE_IMAGE_MASK);
     50    options->unconvRO->col0 = options->outRO->col0;
     51    options->unconvRO->row0 = options->outRO->row0;
     52
     53
     54
    4655    return true;
    4756}
Note: See TracChangeset for help on using the changeset viewer.