Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmSourceSky.h

Go to the documentation of this file.
00001 /** @file  pmSourceSky.h
00002  *
00003  *  @author EAM, IfA; GLG, MHPCC
00004  *
00005  *  @version $Revision: 1.2 $ $Name: rel12 $
00006  *  @date $Date: 2006/04/17 18:01:05 $
00007  *
00008  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
00009  *
00010  */
00011 
00012 # ifndef PM_SOURCE_SKY_H
00013 # define PM_SOURCE_SKY_H
00014 
00015 /** pmSourceLocalSky()
00016  *
00017  * Measure the local sky in the vicinity of the given source. The Radius
00018  * defines the square aperture in which the moments will be measured. This
00019  * function assumes the source pixels have been defined, and that the value of
00020  * Radius here is smaller than the value of Radius used to define the pixels. The
00021  * annular region not contained within the radius defined here is used to measure
00022  * the local background in the vicinity of the source. The local background
00023  * measurement uses the specified statistic passed in via the statsOptions entry.
00024  * This function allocates the pmMoments structure. The resulting sky is used to
00025  * set the value of the pmMoments.sky element of the provided pmSource structure.
00026  *
00027  */
00028 bool pmSourceLocalSky(
00029     pmSource *source,   ///< The input image (float)
00030     psStatsOptions statsOptions, ///< The statistic used in calculating the background sky
00031     float Radius   ///< The inner radius of the square annulus to exclude
00032 );
00033 
00034 
00035 // A complementary function to pmSourceLocalSky: calculate the local sky variance
00036 bool pmSourceLocalSkyVariance(
00037     pmSource *source,   ///< The input image (float)
00038     psStatsOptions statsOptions, ///< The statistic used in calculating the background sky
00039     float Radius   ///< The inner radius of the square annulus to exclude
00040 );
00041 
00042 # endif /* PM_SOURCE_PHOTOMETRY_H */

Generated on Mon Jul 3 14:24:27 2006 for Pan-STARRS Module Library by  doxygen 1.4.4