IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2008, 11:50:16 AM (18 years ago)
Author:
Paul Price
Message:

Adding functions to renormalise the weight maps based on pixels or on (weighted aperture) photometry.

File:
1 edited

Legend:

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

    r19163 r20486  
    55 * @author Eugene Magnier, IfA
    66 *
    7  * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-08-22 22:25:22 $
     7 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-10-31 21:50:16 $
    99 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    9393                             );
    9494
     95/// Renormalise the weight map to match the actual pixel variance
     96///
     97/// The weight (variance) map is adjusted so that the mean matches the actual pixel variance in the image
     98bool pmReadoutWeightRenormPixels(
     99    const pmReadout *readout,           ///< Readout to normalise
     100    psMaskType maskVal,                 ///< Value to mask
     101    psStatsOptions meanStat,            ///< Statistic to measure the mean (of the variance map)
     102    psStatsOptions stdevStat,           ///< Statistic to measure the stdev (of the image)
     103    psRandom *rng                       ///< Random number generator
     104    );
     105
     106/// Renormalise the weight map to match the actual photometry variance
     107///
     108/// The weight (variance) map is adjusted so that the actual significance of fake sources matches the
     109/// guestimated significance
     110bool pmReadoutWeightRenormPhot(
     111    const pmReadout *readout,           ///< Readout to normalise
     112    psMaskType maskVal,                 ///< Value to mask
     113    int num,                            ///< Number of instances to measure over the image
     114    float width,                        ///< Photometry width
     115    psStatsOptions meanStat,            ///< Statistic to measure the mean
     116    psStatsOptions stdevStat,           ///< Statistic to measure the stdev
     117    psRandom *rng                       ///< Random number generator
     118    );
     119
    95120/// Renormalise the weight map to match the actual variance
    96121///
Note: See TracChangeset for help on using the changeset viewer.