IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 17, 2007, 11:01:59 AM (19 years ago)
Author:
magnier
Message:

substantial cleanups of APIs:

changed pmModelGroup to pmModelClass

dropped the _GetFunctions, and moved the modelClass-specific functions
to functions pointers in the pmModel structure. These are assigned
when the model is allocated, based on the model type. Now, instead of
calling, for example,

modelFunc = pmModelFunc_GetFunctions(model->type)
modelFunc();

you just do:

model->modelFunc()

moved some of the support functions into pmModelUtils and
pmSourceUtils.

changed pmIsFooBar to pmFooBarTest for better api listing.

added functions to evaluate and add/subtract models applying an offset
between the image coordinate frame and the chip frame (required frame
for model parameters)

added function(s) to instatiate a pmModel from a pmPSF based on a
given coordinate and peak flux.

added a function to set the model normalization based on a source flux
value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20070817/psModules/src/objects/pmPeaks.h

    r11253 r14544  
    1010 * @author GLG, MHPCC
    1111 *
    12  * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    13  * @date $Date: 2007-01-24 02:54:15 $
     12 * @version $Revision: 1.6.14.1 $ $Name: not supported by cvs2svn $
     13 * @date $Date: 2007-08-17 21:01:59 $
    1414 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1515 */
     
    7272);
    7373
    74 bool pmIsPeak(const psPtr ptr);
     74bool pmPeakTest(const psPtr ptr);
    7575
    76 /** pmFindVectorPeaks()
     76/** pmPeaksInVector()
    7777 *
    7878 * Find all local peaks in the given vector above the given threshold. A peak
     
    9191 *
    9292 */
    93 psVector *pmFindVectorPeaks(
     93psVector *pmPeaksInVector(
    9494    const psVector *vector,  ///< The input vector (float)
    9595    float threshold   ///< Threshold above which to find a peak
     
    9797
    9898
    99 /** pmFindImagePeaks()
     99/** pmPeaksInImage()
    100100 *
    101101 * Find all local peaks in the given image above the given threshold. This
     
    111111 *
    112112 */
    113 psArray *pmFindImagePeaks(
     113psArray *pmPeaksInImage(
    114114    const psImage *image,  ///< The input image where peaks will be found (float)
    115115    float threshold   ///< Threshold above which to find a peak
Note: See TracChangeset for help on using the changeset viewer.