alma.aedf.types
Class CalWidget

java.lang.Object
  |
  +--alma.aedf.types.AEDF
        |
        +--alma.aedf.types.CalWidget

public class CalWidget
extends AEDF

CalWidget : calibration widgets. It is indexed directly via calWidgetId in the Syscal table. numReceptors is known through the feedId. Which load is observed at a given time is specified in the State table using the item calLoadNum when ref is true.


Constructor Summary
CalWidget()
          An empty constructor.
CalWidget(int antennaId, int feedId, int spectralWindowId, double time, double interval, int numCalLoad, double[] cal, double[] load, double[] calEff)
          A full constructor.
 
Method Summary
 void addField(java.lang.String f)
           
 int getAntennaId()
           
 double[] getCal()
           
 double[] getCalEff()
           
 int getFeedId()
           
 double getInterval()
           
 double[] getLoad()
           
 int getNumCalLoad()
           
 int getSpectralWindowId()
           
 double getTime()
           
 void setAntennaId(int antennaId)
           
 void setCal(double[] cal)
           
 void setCalEff(double[] calEff)
           
 void setFeedId(int feedId)
           
 void setInterval(double interval)
           
 void setLoad(double[] load)
           
 void setNumCalLoad(int numCalLoad)
           
 void setSpectralWindowId(int spectralWindowId)
           
 void setTime(double time)
           
 java.lang.String toTR()
           
 
Methods inherited from class alma.aedf.types.AEDF
info
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalWidget

public CalWidget()
An empty constructor.


CalWidget

public CalWidget(int antennaId,
                 int feedId,
                 int spectralWindowId,
                 double time,
                 double interval,
                 int numCalLoad,
                 double[] cal,
                 double[] load,
                 double[] calEff)
A full constructor.

Parameters:
antennaId - Antenna id
feedId - Feed id
spectralWindowId - Spectral window id.
time - Integration midpoint
interval - Time interval
numCalLoad - # of CAL or LOAD N
cal - Noise calibration
load - Load temperature
calEff - Calibration widget efficiency/coupling coefficient. This array's size must be equal to the number of receptors (e.g. numReceptors in the related Feed) * the number of CAL or LOAD (numCalLoad in this CalWidget)
Method Detail

toTR

public java.lang.String toTR()
Specified by:
toTR in class AEDF

addField

public void addField(java.lang.String f)
              throws AEDFException
Specified by:
addField in class AEDF
AEDFException

setAntennaId

public void setAntennaId(int antennaId)

setFeedId

public void setFeedId(int feedId)

setSpectralWindowId

public void setSpectralWindowId(int spectralWindowId)

setTime

public void setTime(double time)

setInterval

public void setInterval(double interval)

setNumCalLoad

public void setNumCalLoad(int numCalLoad)

setCal

public void setCal(double[] cal)

setLoad

public void setLoad(double[] load)

setCalEff

public void setCalEff(double[] calEff)

getAntennaId

public int getAntennaId()

getFeedId

public int getFeedId()

getSpectralWindowId

public int getSpectralWindowId()

getTime

public double getTime()

getInterval

public double getInterval()

getNumCalLoad

public int getNumCalLoad()

getCal

public double[] getCal()

getLoad

public double[] getLoad()

getCalEff

public double[] getCalEff()