IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28293


Ignore:
Timestamp:
Jun 10, 2010, 11:33:41 AM (16 years ago)
Author:
Paul Price
Message:

Fix binning and mosaicking.

Location:
trunk/ppBackground/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppBackground/src/ppBackgroundLoop.c

    r28281 r28293  
    117117
    118118            pmChip *mosaic = pmFPAviewThisChip(view, patternMosaic); // Chip for mosaicked pattern
     119            if (!mosaic->hdu && !mosaic->parent->hdu) {
     120                pmFPAAddSourceFromView(patternMosaic, view, file->format);
     121            }
    119122            if (!pmChipMosaic(mosaic, chip, true, maskBad)) {
    120123                psError(psErrorCodeLast(), false, "Unable to mosaic pattern correction");
  • trunk/ppBackground/src/ppBackgroundRestore.c

    r28285 r28293  
    2727    if (background) {
    2828        pmReadout *bgRO = pmFPAviewThisReadout(view, background->parent); // Readout with background
    29         psImageBinning *binning = psphotBackgroundBinning(bgRO->image, config);
     29        psImageBinning *binning = psphotBackgroundBinning(image, config);
    3030        if (!binning) {
    3131            psError(psErrorCodeLast(), false, "Unable to find background binning");
Note: See TracChangeset for help on using the changeset viewer.