IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2008, 12:39:06 PM (18 years ago)
Author:
Paul Price
Message:

Adding assertion macros for readouts (about time too!). Adding function to renormalise the weight map to correspond to the measured image stdev.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMaskWeight.h

    r13591 r17249  
    55 * @author Eugene Magnier, IfA
    66 *
    7  * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-06-02 03:51:03 $
     7 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-03-31 22:39:06 $
    99 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    9393                              bool poisson ///< Use poisson weights (in addition to read noise)?
    9494                             );
     95
     96/// Renormalise the weight map to match the actual variance
     97///
     98/// The variance in the image is measured in patches, and the variance map is adjusted so that the mean for
     99/// that patch corresponds.
     100bool pmReadoutWeightRenorm(const pmReadout *readout, // Readout to normalise
     101                           psMaskType maskVal, // Value to mask
     102                           psStatsOptions meanStat, // Statistic to measure the mean (of the variance map)
     103                           psStatsOptions stdevStat, // Statistic to measure the stdev (of the image)
     104                           int width,   // Width of patch (pixels)
     105                           psRandom *rng // Random number generator (for sub-sampling images)
     106    );
     107
     108
     109
    95110/// @}
    96111#endif
Note: See TracChangeset for help on using the changeset viewer.