IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24672


Ignore:
Timestamp:
Jul 4, 2009, 10:43:17 AM (17 years ago)
Author:
eugene
Message:

adding ppSubVarianceRescale

Location:
trunk/ppSub/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/Makefile.am

    r23808 r24672  
    3030        ppSubVersion.c                  \
    3131        ppSubBackground.c               \
     32        ppSubVarianceRescale.c          \
    3233        ppSubCamera.c                   \
    3334        ppSubData.c                     \
  • trunk/ppSub/src/ppSub.h

    r24155 r24672  
    101101    );
    102102
     103/// Perform Variance correction (rescale within a modest range)
     104bool ppSubVarianceRescale(pmConfig *config   ///< Configuration
     105    );
     106
    103107/// Put the program version information into a header
    104108bool ppSubVersionHeader(psMetadata *header ///< Header to populate
  • trunk/ppSub/src/ppSubLoop.c

    r23753 r24672  
    9898    }
    9999
     100    // Perform Variance correction (rescale within a modest range)
     101    if (!ppSubVarianceRescale(config)) {
     102        psError(PS_ERR_UNKNOWN, false, "Unable to rescale variance.");
     103        return false;
     104    }
     105
    100106    if (!ppSubFilesIterateDown(config, PPSUB_FILES_PHOT_SUB)) {
    101107        psError(PPSUB_ERR_IO, false, "Unable to set up photometry files.");
Note: See TracChangeset for help on using the changeset viewer.