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

ObitUVCal.c File Reference

ObitUVCal class function definitions. More...

#include "ObitUVCal.h"
#include "ObitUVDesc.h"
#include "ObitUVSel.h"
#include "ObitUVCalCalibrate.h"
#include "ObitUVCalSelect.h"
#include "ObitUVCalFlag.h"
#include "ObitUVCalBandpass.h"
#include "ObitUVCalBaseline.h"
#include "ObitUVCalPolarization.h"
#include "ObitTableANUtil.h"
#include "ObitTableSUUtil.h"
#include "ObitPrecess.h"

Functions

void ObitUVCalInit (gpointer in)
 Private: Initialize newly instantiated object.
void ObitUVCalClear (gpointer in)
 Private: Deallocate members.
ObitUVCalnewObitUVCal (gchar *name)
 Public: Constructor.
gconstpointer ObitUVCalGetClass (void)
 Public: ClassInfo pointer.
ObitUVCalObitUVCalCopy (ObitUVCal *in, ObitUVCal *out, ObitErr *err)
 Public: Copy (deep) constructor.
ObitUVCalObitUVCalClone (ObitUVCal *in, ObitUVCal *out)
 Public: Copy (shallow) constructor.
void ObitUVCalStart (ObitUVCal *in, ObitUVSel *sel, ObitUVDesc *inDesc, ObitUVDesc *outDesc, ObitErr *err)
 Public: Initialize calibration.
gboolean ObitUVCalApply (ObitUVCal *in, gfloat *recIn, gfloat *recOut, ObitErr *err)
 Public: Apply Calibration.
void ObitUVCalShutdown (ObitUVCal *in, ObitErr *err)
 Public: Shutdown.
gboolean ObitUVCalWant (ObitUVCal *in, gfloat time, glong ant1, glong ant2, gfloat *RP, gfloat *visIn, ObitErr *err)
 Public: test if data wanted.
void ObitUVCalSmooth (ObitUVCal *in, float time, glong ant1, glong ant2, gfloat *RP, gfloat *visIn, ObitErr *err)
 Public: Smooth data in frequency.
void ObitUVCalClassInit (void)
 Public: Class initializer.


Detailed Description

ObitUVCal class function definitions.

This class is derived from the Obit base class.


Function Documentation

ObitUVCal* newObitUVCal gchar *  name  ) 
 

Public: Constructor.

Initializes class if needed on first call.

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

gboolean ObitUVCalApply ObitUVCal in,
gfloat *  recIn,
gfloat *  recOut,
ObitErr err
 

Public: Apply Calibration.

Data should be uncompressed before calling.

Parameters:
in Calibration Object.
recIn Input raw data array for a single visibility, random parameters then visibility array.
recOut Output calibrated, edited,transformed data.
err ObitError stack.
Returns:
TRUE if some of the data is valid, FALSE if none.

void ObitUVCalClassInit void   ) 
 

Public: Class initializer.

void ObitUVCalClear 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 ObitUVCal* cast to an Obit*.

ObitUVCal* ObitUVCalClone ObitUVCal in,
ObitUVCal out
 

Public: Copy (shallow) constructor.

The result will have pointers to the more complex members. Parent class members are included but any derived class info is ignored.

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

ObitUVCal* ObitUVCalCopy ObitUVCal in,
ObitUVCal out,
ObitErr err
 

Public: Copy (deep) constructor.

Copies are made of complex members including disk files; these will be copied applying whatever selection is associated with the input. Parent class members are included but any derived class info is ignored.

Parameters:
in The object to copy
out An existing object pointer for output or NULL if none exists.
err Error stack, returns if not empty.
Returns:
pointer to the new object.

gconstpointer ObitUVCalGetClass void   ) 
 

Public: ClassInfo pointer.

Returns:
pointer to the class structure.

void ObitUVCalInit gpointer  inn  ) 
 

Private: Initialize newly instantiated object.

Parent classes portions are (recursively) initialized first

Parameters:
in Pointer to the object to initialize.

void ObitUVCalShutdown ObitUVCal in,
ObitErr err
 

Public: Shutdown.

Parameters:
in Calibration Object.
err ObitError stack.

void ObitUVCalSmooth ObitUVCal in,
float  time,
glong  ant1,
glong  ant2,
gfloat *  RP,
gfloat *  visIn,
ObitErr err
 

Public: Smooth data in frequency.

Parameters:
in Calibration Object.
time Time of datum
ant1 first antenna number of baseline
ant2 second antanna of baseline.
RP Random parameters array.
visIn 1 visibility as an array of floats
err ObitError stack.

void ObitUVCalStart ObitUVCal in,
ObitUVSel sel,
ObitUVDesc inDesc,
ObitUVDesc outDesc,
ObitErr err
 

Public: Initialize calibration.

Output descriptor modified to reflect data selection.

Parameters:
in Object CFto initialize.
sel Data selector.
inDesc Input data descriptor.
outDesc Output data descriptor (after transformations/selection).
err ObitError stack.

gboolean ObitUVCalWant ObitUVCal in,
gfloat  time,
glong  ant1,
glong  ant2,
gfloat *  RP,
gfloat *  visIn,
ObitErr err
 

Public: test if data wanted.

Parameters:
in Calibration Object.
time Time of datum
ant1 first antenna number of baseline
ant2 second antanna of baseline.
RP Random parameter array
visIn 1 visibility as an array of floats
err ObitError stack.


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