IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:31:38 AM (14 years ago)
Author:
eugene
Message:

re-enable MODEL_VAR option for linear photometry fit

Location:
trunk/psModules
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/camera/pmFPAMosaic.c

    r28007 r34085  
    661661            good = false;
    662662        }
     663    }
     664    if (!good) {
     665        // XXX do something to address this?
    663666    }
    664667
  • trunk/psModules/src/camera/pmFPARead.c

    r27346 r34085  
    957957        trimsec->y1 = naxis2 + trimsec->y1;
    958958
    959     int maxSize;                        // Number of cols,rows in image
    960     if (readdir == 1) {
    961         maxSize = PS_MIN(naxis2, trimsec->y1 - trimsec->y0);
    962     } else {
    963         maxSize = PS_MIN(naxis1, trimsec->x1 - trimsec->x0);
    964     }
     959    // XX not used int maxSize;                        // Number of cols,rows in image
     960    // XX not used if (readdir == 1) {
     961    // XX not used     maxSize = PS_MIN(naxis2, trimsec->y1 - trimsec->y0);
     962    // XX not used } else {
     963    // XX not used     maxSize = PS_MIN(naxis1, trimsec->x1 - trimsec->x0);
     964    // XX not used }
    965965
    966966    int offset;                         // start of the segment
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r31633 r34085  
    333333        psMetadataItem *fuzz = psMetadataLookup(scheme, "FUZZ"); // Quantisation fuzz?
    334334        if (fuzz) {
    335             if (fuzz->type != PS_TYPE_BOOL) {
     335            if (fuzz->type != PS_DATA_BOOL) {
    336336                psWarning("FUZZ in compression scheme %s isn't boolean.", fitsType);
    337337                goto FITS_OPTIONS_DONE;
  • trunk/psModules/src/camera/pmReadoutFake.c

    r33624 r34085  
    332332#define CONCEPT_SET_S32(CONCEPTS, NAME, OLD, NEW) { \
    333333        psMetadataItem *item = psMetadataLookup(CONCEPTS, NAME); \
    334         psAssert(item->type == PS_TYPE_S32, "Incorrect type: %x", item->type); \
     334        psAssert(item->type == PS_DATA_S32, "Incorrect type: %x", item->type); \
    335335        if (item->data.S32 == OLD) { \
    336336            item->data.S32 = NEW; \
Note: See TracChangeset for help on using the changeset viewer.