IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 9, 2008, 11:16:09 AM (17 years ago)
Author:
Paul Price
Message:

Adding required headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSource.h

    r19906 r20945  
    33 * @author EAM, IfA; GLG, MHPCC
    44 *
    5  * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-10-06 13:05:13 $
     5 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2008-12-09 21:16:09 $
    77 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    88 */
     
    1111# define PM_SOURCE_H
    1212
    13 # include "pmSourceExtendedPars.h"
     13#include <pslib.h>
     14#include "pmPeaks.h"
     15#include "pmModel.h"
     16#include "pmMoments.h"
     17#include "pmSourceExtendedPars.h"
    1418
    1519/// @addtogroup Objects Object Detection / Analysis Functions
     
    2428 */
    2529typedef enum {
    26     PM_SOURCE_TYPE_UNKNOWN,             ///< not yet classified
    27     PM_SOURCE_TYPE_DEFECT,              ///< a cosmic-ray
    28     PM_SOURCE_TYPE_SATURATED,           ///< random saturated pixels (eg, bleed trails)
    29     PM_SOURCE_TYPE_STAR,                ///< a good-quality star (subtracted model is PSF)
    30     PM_SOURCE_TYPE_EXTENDED,            ///< an extended object (eg, galaxy) (subtracted model is EXT)
     30    PM_SOURCE_TYPE_UNKNOWN,             ///< not yet classified
     31    PM_SOURCE_TYPE_DEFECT,              ///< a cosmic-ray
     32    PM_SOURCE_TYPE_SATURATED,           ///< random saturated pixels (eg, bleed trails)
     33    PM_SOURCE_TYPE_STAR,                ///< a good-quality star (subtracted model is PSF)
     34    PM_SOURCE_TYPE_EXTENDED,            ///< an extended object (eg, galaxy) (subtracted model is EXT)
    3135} pmSourceType;
    3236
     
    5963 *  XXX do I have to re-organize this (again!) to allow an arbitrary set of extended model fits??
    6064 *  XXX put the Mag and Err inside the pmModel?
    61  *  XXX keep the modelEXT or add to the psArray 
    62  * 
     65 *  XXX keep the modelEXT or add to the psArray
     66 *
    6367 *
    6468 */
    6569struct pmSource {
    6670    const int id;                       ///< Unique ID for object
    67     int seq;                            ///< ID for output (generated on write)
     71    int seq;                            ///< ID for output (generated on write)
    6872    pmPeak  *peak;                      ///< Description of peak pixel.
    6973    psImage *pixels;                    ///< Rectangular region including object pixels.
     
    7680    pmModel *modelPSF;                  ///< PSF Model fit (parameters and type)
    7781    pmModel *modelEXT;                  ///< EXT Model fit used for subtraction (parameters and type)
    78     psArray *modelFits;                 ///< collection of extended source models (best == modelEXT)
     82    psArray *modelFits;                 ///< collection of extended source models (best == modelEXT)
    7983    pmSourceType type;                  ///< Best identification of object.
    8084    pmSourceMode mode;                  ///< analysis flags set for object.
    81     psArray *blends;                    ///< collection of sources thought to be confused with object
     85    psArray *blends;                    ///< collection of sources thought to be confused with object
    8286    float psfMag;                       ///< calculated from flux in modelPSF
    8387    float extMag;                       ///< calculated from flux in modelEXT
     
    8589    float apMag;                        ///< apMag corresponding to psfMag or extMag (depending on type)
    8690    float pixWeight;                    ///< model-weighted coverage of valid pixels
    87     float psfChisq;                     ///< probability of PSF
     91    float psfChisq;                     ///< probability of PSF
    8892    float crNsigma;                     ///< Nsigma deviation from PSF to CR
    8993    float extNsigma;                    ///< Nsigma deviation from PSF to EXT
     
    186190 */
    187191pmPSFClump pmSourcePSFClump(
    188     psRegion *region,                   ///< restrict measurement to specified region
     192    psRegion *region,                   ///< restrict measurement to specified region
    189193    psArray *source,                    ///< The input pmSource
    190194    psMetadata *metadata                ///< Contains classification parameters
     
    202206 */
    203207bool pmSourceRoughClass(
    204     psRegion *region,                   ///< restrict measurement to specified region
     208    psRegion *region,                   ///< restrict measurement to specified region
    205209    psArray *sources,                    ///< The input pmSources
    206210    psMetadata *metadata,               ///< Contains classification parameters
Note: See TracChangeset for help on using the changeset viewer.