IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 27, 2007, 12:14:08 PM (19 years ago)
Author:
magnier
Message:

converting the PSF model fits to the polariation terms (replacing Sx,Sy,Sxy)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMosaic.c

    r12701 r13064  
    632632    if (!mdok || xBin->data.S32[index] == 0) {
    633633        psError(PS_ERR_UNKNOWN, true, "CELL.XBIN for cell is not set.\n");
    634         good = false;
     634        return false;
    635635    } else if (xBin->data.S32[index] < *xBinMin) {
    636636        *xBinMin = xBin->data.S32[index];
     
    639639    if (!mdok || yBin->data.S32[index] == 0) {
    640640        psError(PS_ERR_UNKNOWN, true, "CELL.YBIN for cell is not set.\n");
    641         good = false;
     641        return false;
    642642    } else if (yBin->data.S32[index] < *yBinMin) {
    643643        *yBinMin = yBin->data.S32[index];
     
    648648    if (!mdok || (xParityCell != 1 && xParityCell != -1)) {
    649649        psError(PS_ERR_UNKNOWN, true, "CELL.XPARITY for cell is not set.\n");
    650         good = false;
     650        return false;
    651651    }
    652652    int yParityCell = psMetadataLookupS32(&mdok, cell->concepts, "CELL.YPARITY");
    653653    if (!mdok || (yParityCell != 1 && yParityCell != -1)) {
    654654        psError(PS_ERR_UNKNOWN, true, "CELL.YPARITY for cell is not set.\n");
    655         good = false;
     655        return false;
    656656    }
    657657
     
    663663        if (!mdok || (xParityChip != 1 && xParityChip != -1)) {
    664664            psError(PS_ERR_UNKNOWN, true, "CHIP.XPARITY for chip is not set.\n");
    665             good = false;
     665            return false;
    666666        }
    667667        yParityChip = psMetadataLookupS32(&mdok, chip->concepts, "CHIP.YPARITY");
    668668        if (!mdok || (yParityChip != 1 && yParityChip != -1)) {
    669669            psError(PS_ERR_UNKNOWN, true, "CHIP.YPARITY for chip is not set.\n");
    670             good = false;
     670            return false;
    671671        }
    672672    }
     
    792792            continue;
    793793        }
    794         allGood |= addCell(images, masks, weights, x0, y0, xBin, yBin, xFlip, yFlip,
     794        allGood &= addCell(images, masks, weights, x0, y0, xBin, yBin, xFlip, yFlip,
    795795                           cell, xBinChip, yBinChip, false, x0Target, y0Target,
    796796                           xParityTarget, yParityTarget);
Note: See TracChangeset for help on using the changeset viewer.