GJonesDSB.h

Classes

GJonesDSB -- A GJones matrix containing a sideband gain ratio (full description)

class GJonesDSB : public GJones

Interface

Public Members
GJonesDSB (VisSet& vs)
virtual ~GJonesDSB()
virtual void setSolver (const Record& solver)
virtual void setInterpolation (const Record& interpolation)
virtual Bool solve (VisEquation& me)
Protected Members
virtual void checkCache (const VisBuffer& vb, Int spw, Double time)
Private Members
Bool maskedChannel (const Int& chan, const Int& nChan)
void updateCalTable (const Vector<String>& freqGrpName, const Vector<Int>& antennaId, const Matrix<Complex>& sideBandRef, const Vector<MFrequency>& refFreq, const Vector<Int>& refAnt)
void load (const String& applyTable)
Double meanFrequency (const Vector<Int>& spwids)
String freqGrpName (const Int& spwId)
Int freqGrpId (const String& freqGrpName)
Int sideBand (const Int& spwid)
Vector<Int> spwIdsInGroup (const String& freqGrpName)
Vector<Double> freqAxis (const Int& spwId)

Description

Prerequisite

Etymology

GJonesDSB describes an electronic visibility Jones matrix containing a sideband gain ratio.

Synopsis

See VisEquation for definition of the Visibility Measurement Equation.

The elements of GJonesDSB are only non-zero on the diagonal.

Motivation

Support sideband gain ratio corrections explicitly as a Jones matrix subtype

To Do

Member Description

GJonesDSB (VisSet& vs)

Construct from a visibility data set

virtual ~GJonesDSB()

Destructor

virtual void setSolver (const Record& solver)

Set the solver parameters

virtual void setInterpolation (const Record& interpolation)

Set the interpolation parameters

virtual Bool solve (VisEquation& me)

Solve

virtual void checkCache (const VisBuffer& vb, Int spw, Double time)

Virtual function to check the gain correction cache validity Null here to allow unmodified use of TimeVarVisJones::apply()/applyInv()

Bool maskedChannel (const Int& chan, const Int& nChan)

Determine if a given channel is masked

void updateCalTable (const Vector<String>& freqGrpName, const Vector<Int>& antennaId, const Matrix<Complex>& sideBandRef, const Vector<MFrequency>& refFreq, const Vector<Int>& refAnt)

Update the output calibration table to include the current solution parameters

void load (const String& applyTable)

Load the sideband gain rations from a calibration table and cache the corrections (and their inverse)

Double meanFrequency (const Vector<Int>& spwids)

Utility function to return the bandwidth-weighted average frequency for a set of spectral window id.'s

String freqGrpName (const Int& spwId)

Utility function to return the frequency group name for a given spw. id.

Int freqGrpId (const String& freqGrpName)

Utility function to return the frequency group id. associated with a given frequency group name

Int sideBand (const Int& spwid)

Utility to return the net sideband for a given spectral window id.

Vector<Int> spwIdsInGroup (const String& freqGrpName)

Utility function to return the spw id.'s in a given freq. group

Vector<Double> freqAxis (const Int& spwId)

Utility function to return the frequency axis for a given spw. id.