GJonesDSB.h
Classes
- GJonesDSB -- A GJones matrix containing a sideband gain ratio (full description)
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)
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
Construct from a visibility data set
Destructor
Set the solver parameters
Set the interpolation parameters
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)
Utility function to return the bandwidth-weighted average
frequency for a set of spectral window id.'s
Utility function to return the frequency group name for a given spw. id.
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.
Utility function to return the spw id.'s in a given freq. group
Utility function to return the frequency axis for a given spw. id.