IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2006, 5:14:23 PM (20 years ago)
Author:
magnier
Message:

major rework of objects code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/objects/pmSource.h

    r6537 r6556  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.1.2.1 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-03-07 06:33:35 $
     5 *  @version $Revision: 1.1.2.2 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-03-09 03:14:23 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8181    pmSourceMode mode;   ///< Best identification of object.
    8282    psArray *blends;
    83     float fitMag;
     83    float psfMag;
     84    float extMag;
     85    float errMag;
    8486    float apMag;
    8587    psRegion region;   // area on image covered by selected pixels
     
    125127 *
    126128 */
    127 // XXX: Uncommenting the pmReadout causes compile errors.
    128129bool pmSourceDefinePixels(
    129     pmSource *mySource,                 ///< Add comment.
    130     pmReadout *readout,                 ///< Add comment.
    131     psF32 x,                            ///< Add comment.
    132     psF32 y,                            ///< Add comment.
    133     psF32 Radius                        ///< Add comment.
    134 );
    135 
    136 bool pmSourceDefinePixels (pmSource *mySource, const pmReadout *readout, psF32 x, psF32 y, psF32 Radius);
    137 bool pmSourceRedefinePixels (pmSource *mySource, const pmReadout *readout, psF32 x, psF32 y, psF32 Radius);
     130    pmSource *mySource,                 ///< source to be re-defined
     131    const pmReadout *readout,  ///< base the source on this readout
     132    psF32 x,                            ///< center coords of source
     133    psF32 y,                            ///< center coords of source
     134    psF32 Radius                        ///< size of box on source
     135);
     136
     137bool pmSourceRedefinePixels (
     138    pmSource *mySource,   ///< source to be re-defined
     139    const pmReadout *readout,   ///< base the source on this readout
     140    psF32 x,     ///< center coords of source
     141    psF32 y,      ///< center coords of source
     142    psF32 Radius   ///< size of box on source
     143);
    138144
    139145/** pmSourcePSFClump()
     
    188194
    189195
     196/** pmSourceMoments()
     197 *
     198 * Measure source moments for the given source, using the value of
     199 * source.moments.sky provided as the local background value and the peak
     200 * coordinates as the initial source location. The resulting moment values are
     201 * applied to the source.moments entry, and the source is returned. The moments
     202 * are measured within the given circular radius of the source.peak coordinates.
     203 * The return value indicates the success (TRUE) of the operation.
     204 *
     205 */
     206bool pmSourceMoments(
     207    pmSource *source,   ///< The input pmSource for which moments will be computed
     208    float radius   ///< Use a circle of pixels around the peak
     209);
     210
     211
     212// select the model used for this source
     213pmModel *pmSourceSelectModel (pmSource *source);
     214
    190215# endif /* PM_SOURCE_H */
Note: See TracChangeset for help on using the changeset viewer.