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

ObitUVGSolve.c File Reference

ObitUVGSolve class function definitions. More...

#include "ObitUVSel.h"
#include "ObitUVGSolve.h"
#include "ObitMem.h"
#include "ObitTableUtil.h"
#include "ObitUVUtil.h"
#include "ObitUVSoln.h"
#include "ObitTableANUtil.h"
#include "ObitTableSUUtil.h"
#include "ObitPrecess.h"

Functions

void ObitUVGSolveInit (gpointer in)
 Private: Initialize newly instantiated object.
void ObitUVGSolveClear (gpointer in)
 Private: Deallocate members.
ObitUVGSolvenewObitUVGSolve (gchar *name)
 Public: Default Constructor.
gconstpointer ObitUVGSolveGetClass (void)
 Public: ClassInfo pointer.
ObitUVGSolveObitUVGSolveCopy (ObitUVGSolve *in, ObitUVGSolve *out, ObitErr *err)
 Public: Copy (deep) constructor.
void ObitUVGSolveClone (ObitUVGSolve *in, ObitUVGSolve *out, ObitErr *err)
 Public: Copy structure.
ObitUVGSolveObitUVGSolveCreate (gchar *name)
 Public: Create/initialize ObitUVGSolve structures.
ObitTableSNObitUVGSolveCal (ObitUVGSolve *in, ObitUV *inUV, ObitUV *outUV, ObitUVSel *sel, ObitErr *err)
 Public: Determine calibration from UV data divided by model.
void ObitUVGSolveClassInit (void)
 Public: Class initializer.


Detailed Description

ObitUVGSolve class function definitions.

This class enables self calibration of ObitUV data sets


Function Documentation

ObitUVGSolve* newObitUVGSolve gchar *  name  ) 
 

Public: Default Constructor.

Initializes class if needed on first call.

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

ObitTableSN* ObitUVGSolveCal ObitUVGSolve in,
ObitUV inUV,
ObitUV outUV,
ObitUVSel sel,
ObitErr err
 

Public: Determine calibration from UV data divided by model.

If the output table previously exists, deselect any entries corresponding to data selected on inUV (to be fitted). Routine translated from the AIPSish UVUTIL.FOR/SLFCAL

Parameters:
in Input self cal object. If only one source fitted in->curSource, has it's ID Control parameters are on the info member.
  • "solnVer" OBIT_int (1,1,1) Solution (SN) table to write; 0=> create new.
  • "subA" OBIT_int (1,1,1) Selected subarray (default 1)
  • "solInt" OBIT_float (1,1,1) Solution interval (min). (default scan)
  • "refAnt" OBIT_int (1,1,1) Ref ant to use. (default 1)
  • "avgPol" OBIT_bool (1,1,1) True if RR and LL to be averaged (false)
  • "avgIF" OBIT_bool (1,1,1) True if all IFs to be averaged (false)
  • "ampScalar" OBIT_bool (1,1,1) True ampscalar averaging of data wanted
  • "minSNR" OBIT_float (1,1,1) Minimum acceptable SNR (5)
  • "doMGM" OBIT_bool (1,1,1) True then find the mean gain modulus (false)
  • "elevMGM" OBIT_float (1,1,1) Min. elevation to include in mean gain modulus
  • "solType" OBIT_string (4,1,1 Solution type ' ', 'L1', (' ')
  • "solMode" OBIT_string (4,1,1 Solution mode: 'A&P', 'P', 'P!A', 'GCON' ('P')
  • "minNo" OBIT_int (1,1,1) Min. no. antennas. (default 4)
  • "antWt" OBIT_float (*,1,1) Antenna weights. (default 1.0)
  • "UVR_Full"OBIT_float (2,1,1) Range of baseline lengths with full weight (lamda). If none is given then derive one if possible.
  • "WtUV" OBIT_float (1,1,1) Weight outside of UVRANG. (default 1.0)
  • "prtLv" OBIT_int (1,1,1) Print level (default no print)
inUV Input UV data.
outUV UV with which the output SN is to be associated
sel UV selector describing data fitted, used to deselect any extant entries in output SN table.
err Error/message stack, returns if error.
Returns:
Pointer to the newly created SN object which is associated with outUV.

void ObitUVGSolveClassInit void   ) 
 

Public: Class initializer.

void ObitUVGSolveClear 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 ObitUVGSolve* cast to an Obit*.

void ObitUVGSolveClone ObitUVGSolve in,
ObitUVGSolve 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.

ObitUVGSolve* ObitUVGSolveCopy ObitUVGSolve in,
ObitUVGSolve 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.

ObitUVGSolve* ObitUVGSolveCreate gchar *  name  ) 
 

Public: Create/initialize ObitUVGSolve structures.

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

gconstpointer ObitUVGSolveGetClass void   ) 
 

Public: ClassInfo pointer.

Returns:
pointer to the class structure.

void ObitUVGSolveInit 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:10 2007 for Obit by  doxygen 1.3.9.1