IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 14, 2006, 2:40:49 PM (19 years ago)
Author:
Paul Price
Message:

Input is an array of readouts, instead of multiple arrays of images, masks, weights and exposure times. The function can generate these arrays, saving the user some work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmShutterCorrection.h

    r9618 r9984  
    88/// @author Paul Price, IfA
    99///
    10 /// @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    11 /// @date $Date: 2006-10-18 00:47:15 $
     10/// @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     11/// @date $Date: 2006-11-15 00:40:49 $
    1212///
    1313/// Copyright 2006 Institute for Astronomy, University of Hawaii
     
    110110/// Measure a shutter correction image from an array of images
    111111///
    112 /// Given an array of images with known exposure times, this function measures the shutter correction (our
    113 /// principal concern is for the time offset, rather than the normalisation) by measuring the reference time
    114 /// offset using the full non-linear fit for a small number of representative regions (middle and corners),
    115 /// and then using that to perform a linear fit to each pixel.
    116 psImage *pmShutterCorrectionMeasure(const psVector *exptimes, ///< Exposure times
    117                                     const psArray *images, ///< Input images
    118                                     const psArray *weights, ///< Weight images
    119                                     const psArray *masks, ///< Mask images
    120                                     unsigned int size, ///< Size of samples for statistics for non-linear fit
     112/// Given an array of readouts (with known exposure times from the cell concepts), this function measures the
     113/// shutter correction (our principal concern is for the time offset, rather than the normalisation) by
     114/// measuring the reference time offset using the full non-linear fit for a small number of representative
     115/// regions (middle and corners), and then using that to perform a linear fit to each pixel.
     116psImage *pmShutterCorrectionMeasure(const psArray *readouts, ///< Array of readouts
     117                                    int size, ///< Size of samples for statistics for non-linear fit
    121118                                    psStatsOptions meanStat, ///< Statistic to use for mean
    122119                                    psStatsOptions stdevStat, ///< Statistic to use for stdev
Note: See TracChangeset for help on using the changeset viewer.