Every object model, with parameters represented by pmModel, has an associated set of functions which provide necessary support operations. A set of abstract functions allow the programmer to select the approriate function or property for a specific named object model.
Definition in file pmModelGroup.h.
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | pmModelGroup |
Typedefs | |
| typedef psMinimizeLMChi2Func | pmModelFunc |
| typedef psF64(* | pmModelFlux )(const psVector *params) |
| typedef psF64(* | pmModelRadius )(const psVector *params, double flux) |
| typedef bool(* | pmModelLimits )(psVector **beta_lim, psVector **params_min, psVector **params_max) |
| typedef bool(* | pmModelGuessFunc )(pmModel *model, pmSource *source) |
| typedef bool(* | pmModelFromPSFFunc )(pmModel *modelPSF, pmModel *modelEXT, pmPSF *psf) |
| typedef bool(* | pmModelFitStatusFunc )(pmModel *model) |
Functions | |
| pmModelGroup * | pmModelGroupAlloc (int nModels) |
| bool | pmModelGroupInit (void) |
| void | pmModelGroupCleanup (void) |
| void | pmModelGroupAdd (pmModelGroup *model) |
| int | pmModelParameterCount (pmModelType type) |
| char * | pmModelGetType (pmModelType type) |
| pmModelType | pmModelSetType (char *name) |
| This function returns the internal model type code for the user-space model names. | |
| pmModelFunc | pmModelFunc_GetFunction (pmModelType type) |
| pmModelFunc is the function used to determine the value of the model at a specific coordinate, and is the one used by psMinimizeLMChi2. | |
| pmModelFlux | pmModelFlux_GetFunction (pmModelType type) |
| pmModelFlux returns the total integrated flux for the given input parameters. | |
| pmModelRadius | pmModelRadius_GetFunction (pmModelType type) |
| pmModelRadius returns the scaling radius at which the flux of the model matches the specified flux. | |
| pmModelLimits | pmModelLimits_GetFunction (pmModelType type) |
| pmModelLimits sets the parameter limit vectors for the function. | |
| pmModelGuessFunc | pmModelGuessFunc_GetFunction (pmModelType type) |
| pmModelGuessFunc generates an initial guess for the model based on the provided source statistics (moments and pixel values as needed). | |
| pmModelFromPSFFunc | pmModelFromPSFFunc_GetFunction (pmModelType type) |
| pmModelFromPSFFunc takes as input a representation of the psf and a value for the model and fills in the PSF parameters of the model. | |
| pmModelFitStatusFunc | pmModelFitStatusFunc_GetFunction (pmModelType type) |
| pmModelFitStatusFunc returns a true or false values based on the success or failure of a model fit. | |
| pmModel * | pmSourceModelGuess (pmSource *source, pmModelType model) |
| pmSourceModelGuess() | |
|
|
Definition at line 49 of file pmModelGroup.h. |
|
|
Definition at line 25 of file pmModelGroup.h. |
|
|
Definition at line 45 of file pmModelGroup.h. |
|
|
Definition at line 22 of file pmModelGroup.h. |
|
|
Definition at line 39 of file pmModelGroup.h. |
|
|
Definition at line 34 of file pmModelGroup.h. |
|
|
Definition at line 30 of file pmModelGroup.h. |
|
|
pmModelFitStatusFunc returns a true or false values based on the success or failure of a model fit. The success is determined by quantities such as the chisq or the signal-to-noise. |
|
|
pmModelFlux returns the total integrated flux for the given input parameters.
|
|
|
pmModelFromPSFFunc takes as input a representation of the psf and a value for the model and fills in the PSF parameters of the model. The input primarily relies upon the centroid coordinates of the input model, though the normalization may potentially be used. |
|
|
pmModelFunc is the function used to determine the value of the model at a specific coordinate, and is the one used by psMinimizeLMChi2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pmModelGuessFunc generates an initial guess for the model based on the provided source statistics (moments and pixel values as needed).
|
|
|
pmModelLimits sets the parameter limit vectors for the function.
|
|
|
|
|
|
pmModelRadius returns the scaling radius at which the flux of the model matches the specified flux. This presumes that the model is a function of an elliptical contour. |
|
|
This function returns the internal model type code for the user-space model names.
|
|
||||||||||||
|
Convert available data to an initial guess for the given model. This function allocates a pmModel entry for the pmSource structure based on the provided model selection. The method of defining the model parameter guesses are specified for each model below. The guess values are placed in the model parameters. The function returns TRUE on success or FALSE on failure.
|
1.4.4