IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 24, 2010, 3:06:24 PM (15 years ago)
Author:
eugene
Message:

add PM_SOURCE_TMPF_CANDIDATE_PSFSTAR; add pmSourceRedefinePixelsByRegion; add some notes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psModules/src/objects/pmSource.h

    r30142 r30153  
    3535    PM_SOURCE_TMPF_SIZE_CR_CANDIDATE = 0x0008,
    3636    PM_SOURCE_TMPF_MOMENTS_MEASURED  = 0x0010,
     37    PM_SOURCE_TMPF_CANDIDATE_PSFSTAR = 0x0020,
    3738} pmSourceTmpF;
    3839
     
    4243 *  simplest measurement of a source is the location and flux of the peak pixel
    4344 *  associated with the source:
     45 *
     46 * a pmSource is the information about a (possible) blob of flux in a specific image.  A source
     47 * may represent an insignificant or undetected source.  There may be multiple representations
     48 * of an image (eg, alternate smoothed copies); sources on alternate images may have a pointer
     49 * to the version on the primary image (source->parent).  A set of sources on different, but
     50 * related images (eg, multiple exposures or different filters) which (may) represent the same
     51 * astronomical object are grouped together with the pmPhotObj type (set pmPhotObj.h).
     52 *
     53 * A single source may be fitted with multiple models (not at the same time!).  The PSF model
     54 * fit is a fit of the position (optionally) and the flux to the PSF model at the location of
     55 * the source.  Alternate model fits are extended source models. The best model fit is used to
     56 * subtract the object from the image.
    4457 *
    4558 *  XXX do I have to re-organize this (again!) to allow an arbitrary set of extended model fits??
     
    94107};
    95108
    96 /* a pmSource is the information about a (possible) blob of flux in a specific image.  A source
    97  * may represent an insignificant or undetected source.  There may be multiple representations
    98  * of an image (eg, alternate smoothed copies); sources on alternate images may have a pointer
    99  * to the version on the primary image (source->parent).  A set of sources on different, but
    100  * related images (eg, multiple exposures or different filters) which (may) represent the same
    101  * astronomical object are grouped together with the pmPhotObj type (set pmPhotObj.h).
    102  *
    103  * A single source may be fitted with multiple models (not at the same time!).  The PSF model
    104  * fit is a fit of the position (optionally) and the flux to the PSF model at the location of
    105  * the source.  Alternate model fits are extended source models. The best model fit is used to
    106  * subtract the object from the image.
    107  */
    108 
    109109/** pmPSFClump data structure
    110110 *
     
    173173    psF32 x,     ///< center coords of source
    174174    psF32 y,      ///< center coords of source
    175     psF32 Radius,   ///< size of box on source
    176     bool force      ///< guaranteed pixels are re-assigned
     175    psF32 Radius   ///< size of box on source
     176);
     177
     178bool pmSourceRedefinePixelsByRegion (
     179    pmSource *mySource,   ///< source to be re-defined
     180    const pmReadout *readout,   ///< base the source on this readout
     181    psRegion newRegion ///< region for source pixel definition
    177182);
    178183
Note: See TracChangeset for help on using the changeset viewer.