IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20945


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

Adding required headers

Location:
trunk/psModules/src/objects
Files:
6 edited

Legend:

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

    r18828 r20945  
    33 * @author RHL, Princeton & IfA; EAM, IfA
    44 *
    5  * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-08-01 00:00:17 $
     5 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2008-12-09 21:16:09 $
    77 * Copyright 2006 Institute for Astronomy, University of Hawaii
    88 */
     
    1010#ifndef PM_FOOTPRINT_H
    1111#define PM_FOOTPRINT_H
     12
     13#include <pslib.h>
     14#include "pmSpan.h"
     15
     16
    1217typedef struct {
    1318    const int id;                       //!< unique ID
     
    1722    psArray *peaks;                     //!< the peaks lying in this footprint
    1823    psRegion region;   //!< A region describing the psImage the footprints live in
    19     bool normalized;                    //!< Are the spans sorted? 
     24    bool normalized;                    //!< Are the spans sorted?
    2025} pmFootprint;
    2126
     
    2732void pmFootprintSetBBox(pmFootprint *fp);
    2833
    29 pmSpan *pmFootprintAddSpan(pmFootprint *fp,     // the footprint to add to
    30                            const int y, // row to add
    31                            int x0,      // range of
    32                            int x1);    //          columns
     34pmSpan *pmFootprintAddSpan(pmFootprint *fp,     // the footprint to add to
     35                           const int y, // row to add
     36                           int x0,      // range of
     37                           int x1);    //          columns
    3338
    3439psArray *pmFootprintsFind(const psImage *img, const float threshold, const int npixMin);
     
    4550psImage *pmSetFootprintID(psImage *idImage, const pmFootprint *fp, const int id);
    4651void pmSetFootprintArrayIDsForImage(psImage *idImage,
    47                                     const psArray *footprints, // the footprints to insert
    48                                     const bool relativeIDs); // show IDs starting at 0, not pmFootprint->id
     52                                    const psArray *footprints, // the footprints to insert
     53                                    const bool relativeIDs); // show IDs starting at 0, not pmFootprint->id
    4954
    5055psErrorCode pmFootprintsAssignPeaks(psArray *footprints, const psArray *peaks);
  • trunk/psModules/src/objects/pmModel.h

    r17395 r20945  
    55 * @author EAM, IfA
    66 *
    7  * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-04-08 18:33:16 $
     7 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-12-09 21:16:09 $
    99 *
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1313# ifndef PM_MODEL_H
    1414# define PM_MODEL_H
     15
     16#include <pslib.h>
     17#include "pmPSF.h"
    1518
    1619/// @addtogroup Objects Object Detection / Analysis Functions
     
    8790    float chisq;                        ///< Fit chi-squared.
    8891    float chisqNorm;                    ///< re-normalized fit chi-squared.
    89     float mag;                          ///< integrated model magnitude
    90     float magErr;                       ///< integrated model magnitude error
     92    float mag;                          ///< integrated model magnitude
     93    float magErr;                       ///< integrated model magnitude error
    9194    int nDOF;                           ///< number of degrees of freedom
    9295    int nIter;                          ///< number of iterations to reach min
  • trunk/psModules/src/objects/pmPSF.h

    r15697 r20945  
    66 * @author EAM, IfA
    77 *
    8  * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-11-27 03:14:57 $
     8 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2008-12-09 21:16:09 $
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    1313# ifndef PM_PSF_H
    1414# define PM_PSF_H
     15
     16#include <pslib.h>
     17#include "pmTrend2D.h"
     18#include "pmGrowthCurve.h"
     19#include "pmResiduals.h"
     20#include "pmFPA.h"
    1521
    1622/// @addtogroup Objects Object Detection / Analysis Functions
  • trunk/psModules/src/objects/pmPeaks.h

    r20937 r20945  
    1010 * @author GLG, MHPCC
    1111 *
    12  * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    13  * @date $Date: 2008-12-08 02:51:14 $
     12 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     13 * @date $Date: 2008-12-09 21:16:09 $
    1414 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1515 */
     
    1717# ifndef PM_PEAKS_H
    1818# define PM_PEAKS_H
     19
     20#include <pslib.h>
     21#include "pmFootprint.h"
    1922
    2023/// @addtogroup Objects Object Detection / Analysis Functions
     
    5962    float SN;                           ///< S/N implied by detection level
    6063    bool assigned;                      ///< is peak assigned to a source?
    61     pmPeakType type;                    ///< Description of peak.
    62     pmFootprint *footprint;     ///< reference to containing footprint
     64    pmPeakType type;                    ///< Description of peak.
     65    pmFootprint *footprint;     ///< reference to containing footprint
    6366}
    6467pmPeak;
  • 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
  • trunk/psModules/src/objects/pmSpan.h

    r18828 r20945  
    33 * @author EAM, IfA
    44 *
    5  * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-08-01 00:00:17 $
     5 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2008-12-09 21:16:09 $
    77 * Copyright 2006 Institute for Astronomy, University of Hawaii
    88 */
     
    1010# ifndef PM_SPAN_H
    1111# define PM_SPAN_H
     12
     13#include <pslib.h>
    1214
    1315/// @addtogroup Objects Object Detection / Analysis Functions
Note: See TracChangeset for help on using the changeset viewer.