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

pmMoments.h

Go to the documentation of this file.
00001 /** @file  pmMoments.h
00002  *
00003  *  Definitions of the moments structure
00004  *
00005  *  @author GLG, MHPCC
00006  *
00007  *  @version $Revision: 1.2 $ $Name: rel12 $
00008  *  @date $Date: 2006/04/17 18:01:05 $
00009  *
00010  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
00011  *
00012  */
00013 
00014 # ifndef PM_MOMENTS_H
00015 # define PM_MOMENTS_H
00016 
00017 /** pmMoments data structure
00018  *
00019  * One of the simplest measurements which can be made quickly for an object
00020  * are the object moments. We specify a structure to carry the moment information
00021  * for a specific source:
00022  *
00023  */
00024 typedef struct
00025 {
00026     float x;     ///< X-coord of centroid.
00027     float y;     ///< Y-coord of centroid.
00028     float Sx;    ///< x-second moment.
00029     float Sy;    ///< y-second moment.
00030     float Sxy;   ///< xy cross moment.
00031     float Sum;   ///< Pixel sum above sky (background).
00032     float Peak;  ///< Peak counts above sky.
00033     float Sky;   ///< Sky level (background).
00034     float dSky;  ///< local Sky variance
00035     float SN;    ///< approx signal-to-noise
00036     int nPixels; ///< Number of pixels used.
00037 }
00038 pmMoments;
00039 
00040 /** pmMomentsAlloc()
00041  *
00042  */
00043 pmMoments *pmMomentsAlloc();
00044 
00045 # endif

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