IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2007, 2:11:02 PM (19 years ago)
Author:
magnier
Message:
  • added function pointers to pmModel to provide class-dependent functions
  • dropped pmModel*_GetFunction functions (use pmModel->func functions instead)
  • added modelParamsFromPSF functions to model classes
  • changed pmModelGroup to pmModelClass
  • added pmSourceFitSet.[ch]
  • updated pmSourceFitSet to allow variable model classes
  • added functions to add/sub and eval models & sources with an offset between image and chip
  • added function to set a pmModel flux
  • added function to instatiate a pmModel from a pmPSF at a coordinate
  • moved pmPSF I/O to chip->analysis from readout->analysis
  • changed pmPSF I/O function names from *ForPSFmodel to pmPSFmodel*
  • changed pmModel.params_NEW back to pmModel.params
  • changed pmFind*Peaks to pmPeaksIn* (* = Image,Vector)
  • dropped pmCullPeaks (deprecated)
  • changed pmModelSetType to pmModelClassGetType
  • changed pmModelGetType to pmModelClassGetName
  • fixed PGAUSS implementation of modelRadius function
File:
1 edited

Legend:

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

    r13898 r14652  
    66 * @author EAM, IfA
    77 *
    8  * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-06-20 02:22:26 $
     8 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2007-08-24 00:11:02 $
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    1616/// @addtogroup Objects Object Detection / Analysis Functions
    1717/// @{
     18
     19// type of model carried by the pmModel structure
     20typedef int pmModelType;
    1821
    1922typedef enum {
     
    4447typedef struct
    4548{
    46     pmModelType type;   ///< PSF Model in use
    47     psArray *params_NEW;   ///< Model parameters (psPolynomial2D)
    48     // XXXXX I am changing params: we will allocate elements for the
    49     // unfitted elements (So, Io, Xo, Yo) and leave them as NULL
    50     // I am using a new name to catch all refs to params with gcc
     49    pmModelType type;                   ///< PSF Model in use
     50    psArray *params;                    ///< Model parameters (psPolynomial2D)
    5151    psPolynomial1D *ChiTrend;         ///< Chisq vs flux fit (correction for systematic errors)
    5252    psPolynomial4D *ApTrend;            ///< ApResid vs (x,y,rflux) (rflux = ten(0.4*mInst))
     
    7979);
    8080
    81 /**
    82  *
    83  * This function constructs a pmModel instance based on the pmPSF description
    84  * of the PSF. The input is a pmModel with at least the values of the centroid
    85  * coordinates (possibly normalization if this is needed) defined. The values of
    86  * the PSF-dependent parameters are specified for the specific realization based
    87  * on the coordinates of the object.
    88  *
    89  */
    90 pmModel *pmModelFromPSF(
    91     pmModel *model,                     ///< Add comment
    92     pmPSF *psf                          ///< Add comment
    93 );
    94 
    9581bool pmPSFMaskApTrend (psPolynomial4D *trend, pmPSFApTrendOptions option);
    9682
Note: See TracChangeset for help on using the changeset viewer.