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

pmSourceFitModel.h File Reference


Detailed Description

Author:
EAM, IfA; GLG, MHPCC
Version:
Revision
1.2
Name
rel12
Date:
Date
2006/04/17 18:01:05
Copyright 2004 Maui High Performance Computing Center, University of Hawaii

Definition in file pmSourceFitModel.h.

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

Go to the source code of this file.

Enumerations

enum  pmSourceFitMode { PM_SOURCE_FIT_NORM, PM_SOURCE_FIT_PSF, PM_SOURCE_FIT_EXT, PM_SOURCE_FIT_PSF_AND_SKY, PM_SOURCE_FIT_EXT_AND_SKY }

Functions

bool pmSourceFitModelInit (float nIter, float tol, bool poissonErrors)
bool pmSourceFitModel (pmSource *source, pmModel *model, pmSourceFitMode mode)
 pmSourceFitModel()
bool pmModelFitSetInit (pmModelType type)
void pmModelFitSetClear (void)
psF32 pmModelFitSet (psVector *deriv, const psVector *params, const psVector *x)
bool pmSourceFitSet (pmSource *source, psArray *modelSet, pmSourceFitMode mode)
 pmSourceFitSet()


Enumeration Type Documentation

enum pmSourceFitMode
 

Enumerator:
PM_SOURCE_FIT_NORM 
PM_SOURCE_FIT_PSF 
PM_SOURCE_FIT_EXT 
PM_SOURCE_FIT_PSF_AND_SKY 
PM_SOURCE_FIT_EXT_AND_SKY 

Definition at line 15 of file pmSourceFitModel.h.


Function Documentation

psF32 pmModelFitSet psVector *  deriv,
const psVector *  params,
const psVector *  x
 

void pmModelFitSetClear void   ) 
 

bool pmModelFitSetInit pmModelType  type  ) 
 

bool pmSourceFitModel pmSource source,
pmModel model,
pmSourceFitMode  mode
 

pmSourceFitModel()

Fit the requested model to the specified source. The starting guess for the model is given by the input source.model parameter values. The pixels of interest are specified by the source.pixels and source.mask entries. This function calls psMinimizeLMChi2() on the image data. The function returns TRUE on success or FALSE on failure.

Parameters:
source  The input pmSource
model  model to be fitted
mode  define parameters to be fitted

bool pmSourceFitModelInit float  nIter,
float  tol,
bool  poissonErrors
 

Parameters:
nIter  max number of allowed iterations
tol  convergence criterion

bool pmSourceFitSet pmSource source,
psArray *  modelSet,
pmSourceFitMode  mode
 

pmSourceFitSet()

Fit the requested model to the specified source. The starting guess for the model is given by the input source.model parameter values. The pixels of interest are specified by the source.pixels and source.mask entries. This function calls psMinimizeLMChi2() on the image data. The function returns TRUE on success or FALSE on failure.

Parameters:
source  The input pmSource
modelSet  model to be fitted
mode  define parameters to be fitted


Generated on Mon Jul 3 14:24:55 2006 for Pan-STARRS Module Library by  doxygen 1.4.4