Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmModelGroup.h File Reference


Detailed Description

The object model function types are defined to allow for the flexible addition of new object models. 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.

Author:
EAM, IfA
Version:
Revision
1.1
Name
rel8_0
Date:
Date
2005/10/10 19:53:40
Copyright 2004 Maui High Performance Computing Center, University of Hawaii

Definition in file pmModelGroup.h.

#include "pmObjects.h"
#include "pmPSF.h"

Include dependency graph for pmModelGroup.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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 *modelFLT, pmPSF *psf)
typedef bool(* pmModelFitStatusFunc )(pmModel *model)

Functions

int pmModelParameterCount (pmModelType type)
char * pmModelGetType (pmModelType type)
pmModelType pmModelSetType (char *name)
pmModelFunc pmModelFunc_GetFunction (pmModelType type)
pmModelFlux pmModelFlux_GetFunction (pmModelType type)
pmModelRadius pmModelRadius_GetFunction (pmModelType type)
pmModelLimits pmModelLimits_GetFunction (pmModelType type)
pmModelGuessFunc pmModelGuessFunc_GetFunction (pmModelType type)
pmModelFromPSFFunc pmModelFromPSFFunc_GetFunction (pmModelType type)
pmModelFitStatusFunc pmModelFitStatusFunc_GetFunction (pmModelType type)


Typedef Documentation

typedef bool(* pmModelFitStatusFunc)(pmModel *model)
 

This function returns the success / failure status of the given model fit

Definition at line 104 of file pmModelGroup.h.

typedef psF64(* pmModelFlux)(const psVector *params)
 

This function returns the integrated flux for the given model parameters.

Definition at line 64 of file pmModelGroup.h.

typedef bool(* pmModelFromPSFFunc)(pmModel *modelPSF, pmModel *modelFLT, pmPSF *psf)
 

This function constructs the PSF model for the given source based on the supplied psf and the FLT model for the object.

Definition at line 97 of file pmModelGroup.h.

typedef psMinimizeLMChi2Func pmModelFunc
 

This function is the model chi-square minimization function for this model.

Definition at line 57 of file pmModelGroup.h.

typedef bool(* pmModelGuessFunc)(pmModel *model, pmSource *source)
 

This function provides the model guess parameters based on the details of the given source.

Definition at line 88 of file pmModelGroup.h.

typedef bool(* pmModelLimits)(psVector **beta_lim, psVector **params_min, psVector **params_max)
 

This function sets the model parameter limits vectors for the given model

Definition at line 80 of file pmModelGroup.h.

typedef psF64(* pmModelRadius)(const psVector *params, double flux)
 

This function returns the radius at which the given model and parameters achieves the given flux.

Definition at line 73 of file pmModelGroup.h.


Function Documentation

pmModelFitStatusFunc pmModelFitStatusFunc_GetFunction pmModelType  type  ) 
 

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 pmModelFlux_GetFunction pmModelType  type  ) 
 

pmModelFlux returns the total integrated flux for the given input parameters.

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. The input primarily relies upon the centroid coordinates of the input model, though the normalization may potentially be used.

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.

char* pmModelGetType pmModelType  type  ) 
 

This function returns the user-space model names for the specified model type.

Parameters:
type  Add comment.

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).

pmModelLimits pmModelLimits_GetFunction pmModelType  type  ) 
 

pmModelLimits sets the parameter limit vectors for the function.

int pmModelParameterCount pmModelType  type  ) 
 

This function returns the number of parameters used by the listed function.

Parameters:
type  Add comment.

pmModelRadius pmModelRadius_GetFunction pmModelType  type  ) 
 

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.

pmModelType pmModelSetType char *  name  ) 
 

This function returns the internal model type code for the user-space model names.

Parameters:
name  Add comment.


Generated on Thu Oct 13 14:29:30 2005 for Pan-STARRS Module Library by  doxygen 1.4.2