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

ObitUVGSolve.h File Reference

ObitUVGSolve Class for uv data self calibration. More...

#include "ObitUV.h"
#include "ObitTableSN.h"
#include "ObitSkyModel.h"

Go to the source code of this file.

Classes

struct  ObitUVGSolve
 ObitUVGSolve Class structure. More...
struct  ObitUVGSolveClassInfo
 ClassInfo Structure. More...

Defines

#define ObitUVGSolveUnref(in)   ObitUnref (in)
 Macro to unreference (and possibly destroy) an ObitUVGSolve returns a ObitUVGSolve*.
#define ObitUVGSolveRef(in)   ObitRef (in)
 Macro to reference (update reference count) an ObitUVGSolve.
#define ObitUVGSolveIsA(in)   ObitIsA (in, ObitUVGSolveGetClass())
 Macro to determine if an object is the member of this or a derived class.

Typedefs

typedef ObitUVGSolve *(* ObitUVGSolveCreateFP )(gchar *name)
 Typedef for definition of class pointer structure.

Functions

void ObitUVGSolveClassInit (void)
 Public: Class initializer.
ObitUVGSolvenewObitUVGSolve (gchar *name)
 Public: Default Constructor.
ObitUVGSolveObitUVGSolveCreate (gchar *name)
 Public: Create/initialize ObitUVGSolve structures.
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.
ObitTableSNObitUVGSolveCal (ObitUVGSolve *in, ObitUV *inUV, ObitUV *outUV, ObitUVSel *sel, ObitErr *err)
 Public: Determine calibration from UV data divided by model.


Detailed Description

ObitUVGSolve Class for uv data self calibration.

This class is derived from the Obit class.

Routines determine calibration for an ObitUV and write an SN table. Control parameters are on the info member.

Creators and Destructors

An ObitUVGSolve will usually be created using ObitUVGSolveCreate which allows specifying a name for the object as well as other information.

A copy of a pointer to an ObitUVGSolve should always be made using the ObitUVGSolveRef function which updates the reference count in the object. Then whenever freeing an ObitUVGSolve or changing a pointer, the function ObitUVGSolveUnref will decrement the reference count and destroy the object when the reference count hits 0. There is no explicit destructor.


Define Documentation

#define ObitUVGSolveIsA in   )     ObitIsA (in, ObitUVGSolveGetClass())
 

Macro to determine if an object is the member of this or a derived class.

Returns TRUE if a member, else FALSE in = object to reference

#define ObitUVGSolveRef in   )     ObitRef (in)
 

Macro to reference (update reference count) an ObitUVGSolve.

returns a ObitUVGSolve*. in = object to reference

#define ObitUVGSolveUnref in   )     ObitUnref (in)
 

Macro to unreference (and possibly destroy) an ObitUVGSolve returns a ObitUVGSolve*.

in = object to unreference


Typedef Documentation

typedef ObitUVGSolve*(* ObitUVGSolveCreateFP)(gchar *name)
 

Typedef for definition of class pointer structure.


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 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.


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