Main Page | Class List | Directories | File List | Class Members | File Members

ObitImageFit.c File Reference

ObitImageFit class function definitions. More...

#include "gsl/gsl_cblas.h"
#include "ObitImageFit.h"

Functions

void ObitImageFitInit (gpointer in)
 Private: Initialize newly instantiated object.
void ObitImageFitClear (gpointer in)
 Private: Deallocate members.
ObitImageFitnewObitImageFit (gchar *name)
 Public: Default Constructor.
gconstpointer ObitImageFitGetClass (void)
 Public: ClassInfo pointer.
ObitImageFitObitImageFitCopy (ObitImageFit *in, ObitImageFit *out, ObitErr *err)
 Public: Copy (deep) constructor.
void ObitImageFitClone (ObitImageFit *in, ObitImageFit *out, ObitErr *err)
 Public: Copy structure.
ObitImageFitObitImageFitCreate (gchar *name)
 Public: Create/initialize ObitImageFit structures.
gint ObitImageFitFit (ObitImageFit *in, ObitImage *image, ObitFitRegion *reg, ObitErr *err)
 Public: Fit an ObitFitRegion.
void ObitImageFitClassInit (void)
 Public: Class initializer.


Detailed Description

ObitImageFit class function definitions.

This class is derived from the Obit base class.


Function Documentation

ObitImageFit* newObitImageFit gchar *  name  ) 
 

Public: Default Constructor.

Initializes class if needed on first call.

Parameters:
name An optional name for the object.
Returns:
the new object.

void ObitImageFitClassInit void   ) 
 

Public: Class initializer.

void ObitImageFitClear gpointer  inn  ) 
 

Private: Deallocate members.

Does (recursive) deallocation of parent class members.

Parameters:
inn Pointer to the object to deallocate. Actually it should be an ObitImageFit* cast to an Obit*.

void ObitImageFitClone ObitImageFit in,
ObitImageFit out,
ObitErr err
 

Public: Copy structure.

Parameters:
in The object to copy
out An existing object pointer for output, must be defined.
err Obit error stack object.

ObitImageFit* ObitImageFitCopy ObitImageFit in,
ObitImageFit out,
ObitErr err
 

Public: Copy (deep) constructor.

Parameters:
in The object to copy
out An existing object pointer for output or NULL if none exists.
err Obit error stack object.
Returns:
pointer to the new object.

ObitImageFit* ObitImageFitCreate gchar *  name  ) 
 

Public: Create/initialize ObitImageFit structures.

Parameters:
name An optional name for the object.
Returns:
the new object.

gint ObitImageFitFit ObitImageFit in,
ObitImage image,
ObitFitRegion reg,
ObitErr err
 

Public: Fit an ObitFitRegion.

Parameters:
in Fitter to use, control info in info:
  • "MaxIter" OBIT_int (1,1,1) Maximum number of iterations defaults to 10 per fitted parameter
  • "prtLv" OBIT_int (1,1,1) Message level, 0=>none [def 0]
  • "PosGuard" OBIT_double (1,1,1) Distance from edge to allow center [def no bound]
  • "FluxLow" OBIT_double (1,1,1) Lower bounds on Flux density [no bound]
  • "GMajUp" OBIT_double (1,1,1) Major axis upper bound [no bound]
  • "GMajLow" OBIT_double (1,1,1) Major axis lower bound [no bound]
  • "GMinUp" OBIT_double (1,1,1) Minor axis upper bound [no bound]
  • "GMinLow" OBIT_double (1,1,1) Minor axis lower bound [no bound]
image Image to fit, should have pixel array attached and opened as described in reg (BLC, TRC).
reg Region in image to fit, on input the initial guess on output, the fitted result
err Obit error/message stack.
Returns:
a completion code: 0=> converged, 1=> max. iterations.

gconstpointer ObitImageFitGetClass void   ) 
 

Public: ClassInfo pointer.

Returns:
pointer to the class structure.

void ObitImageFitInit gpointer  inn  ) 
 

Private: Initialize newly instantiated object.

Parent classes portions are (recursively) initialized first

Parameters:
inn Pointer to the object to initialize.


Generated on Fri Aug 31 22:13:06 2007 for Obit by  doxygen 1.3.9.1