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

ObitPennArrayAtmFit.c File Reference

ObitPennArrayAtmFit class function definitions. More...

#include "ObitPennArrayAtmFit.h"
#include "Obit2DLegendre.h"

Functions

void ObitPennArrayAtmFitInit (gpointer in)
 Private: Initialize newly instantiated object.
void ObitPennArrayAtmFitClear (gpointer in)
 Private: Deallocate members.
ObitPennArrayAtmFitnewObitPennArrayAtmFit (gchar *name)
 Public: Constructor.
gconstpointer ObitPennArrayAtmFitGetClass (void)
 Public: ClassInfo pointer.
ObitPennArrayAtmFitObitPennArrayAtmFitValue (gchar *name, ObitOTFArrayGeom *geom, glong ncoef, ObitErr *err)
 Public: Constructor from Values.
void ObitPennArrayAtmFitFit (ObitPennArrayAtmFit *in, gfloat *data, gint incs, gfloat *coef)
 Public: Fit model.
void ObitPennArrayAtmFitClassInit (void)
 Public: Class initializer.


Detailed Description

ObitPennArrayAtmFit class function definitions.

Class with atmospheric model fitting routines for the GBT Penn Array This class is derived from the Obit base class.


Function Documentation

ObitPennArrayAtmFit* newObitPennArrayAtmFit gchar *  name  ) 
 

Public: Constructor.

Initializes class if needed on first call.

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

void ObitPennArrayAtmFitClassInit void   ) 
 

Public: Class initializer.

void ObitPennArrayAtmFitClear gpointer  inn  ) 
 

Private: Deallocate members.

Does (recursive) deallocation of parent class members. For some reason this wasn't build into the GType class.

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

void ObitPennArrayAtmFitFit ObitPennArrayAtmFit in,
gfloat *  data,
gint  incs,
gfloat *  coef
 

Public: Fit model.

average of 9 values around median value if only one term desired Sky data is passed in data and a model of the atmosphere is returned in coef. High residuals are clipped at the 3 sigma level

Parameters:
in The fitting object
data Sky brightness values to fit, invalid values are blanked
incs increment in data array, >1 => weights
coef Fitted Legendre polynomial coefficients. Array should be at least size of ncoef passed to ObitPennArrayAtmFitValue. Returned as corrections.

gconstpointer ObitPennArrayAtmFitGetClass void   ) 
 

Public: ClassInfo pointer.

Returns:
pointer to the class structure.

void ObitPennArrayAtmFitInit gpointer  inn  ) 
 

Private: Initialize newly instantiated object.

Parent classes portions are (recursively) initialized first

Parameters:
in Pointer to the object to initialize.

ObitPennArrayAtmFit* ObitPennArrayAtmFitValue gchar *  name,
ObitOTFArrayGeom geom,
glong  ncoef,
ObitErr *  err
 

Public: Constructor from Values.

Parameters:
name Name for object
geom Penn Array feed array descriptor
ncoef Number of coefficients in polynomial model to fit for.
err ObitError stack.
Returns:
pointer to the new object.


Generated on Mon Sep 3 20:43:54 2007 by  doxygen 1.3.9.1