IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2007, 11:12:56 AM (19 years ago)
Author:
magnier
Message:

big re-org to put the includes in the .c only, not .h

File:
1 edited

Legend:

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

    r12654 r12696  
    66#include <assert.h>
    77#include <pslib.h>
     8
     9#include "pmHDU.h"
    810#include "pmFPA.h"
    911#include "pmFPAFlags.h"
    10 #include "pmHDU.h"
    1112#include "pmConceptsAverage.h"
    1213#include "pmHDUUtils.h"
     
    444445
    445446    // Get the maximum extent of the mosaic image
    446     int xMin = INT_MAX;
    447     int xMax = - INT_MAX;
    448     int yMin = INT_MAX;
    449     int yMax = - INT_MAX;
     447    int xMin = +INT_MAX;
     448    int xMax = -INT_MAX;
     449    int yMin = +INT_MAX;
     450    int yMax = -INT_MAX;
    450451    psElemType type = 0;
    451452    int numImages = 0;                  // Number of images
     
    672673
    673674    // Set the flips on the basis of the parity
     675    // XXX if (level == CHIP) : only apply Cell parity
     676    // XXX if (level == FPA) : apply Chip & Cell parity
    674677    if (xParityCell * xParityChip == xParityTarget) {
    675678        xFlip->data.U8[index] = 0;
     
    758761        yParityCellTarget = 1;
    759762    }
     763    # if (0)
    760764    int xParityChipTarget = psMetadataLookupS32(&mdok, targetCell->parent->concepts, "CHIP.XPARITY");
    761765    if (!mdok || (xParityChipTarget != -1 && xParityChipTarget != 1)) {
     
    772776    int xParityTarget = xParityChipTarget * xParityCellTarget;
    773777    int yParityTarget = yParityChipTarget * yParityCellTarget;
     778    # endif
     779    int xParityTarget = xParityCellTarget;
     780    int yParityTarget = yParityCellTarget;
    774781
    775782    // Binning for the mosaicked chip is the minimum binning allowed by the cells
Note: See TracChangeset for help on using the changeset viewer.