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. |
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 |
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 idfeedId
- Feed idspectralWindowId
- Spectral window id.time
- Integration midpointinterval
- Time intervalnumCalLoad
- # of CAL or LOAD Ncal
- Noise calibrationload
- Load temperaturecalEff
- 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)
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()