alma.aedf.types
Class CalDevice

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

public class CalDevice
extends AEDF

Calibration device characteristics.

It is indexed directly via calDeviceId in the SysCal table. numRx is known through the feedId. The load observed at a given time is specified in the State table via the item calloadNum when ref is TRUE. Note that numRx, the number of receivers, is specified in the Feed table. N.B.: Additional calibration device properties will have to be defined if necessary.


Constructor Summary
CalDevice()
          An empty constructor.
CalDevice(int antennaId, int feedId, int spectralwindowId, double time, double interval, int numCalLoad, double[] noiseCal, double[] tempLoad, float[] gcalEff)
          A full constructor.
 
Method Summary
 void addField(java.lang.String f)
           
 int getAntennaId()
           
 int getFeedId()
           
 float[] getGcalEff()
           
 double getInterval()
           
 double[] getNoiseCal()
           
 int getNumCalLoad()
           
 int getSpectralwindowId()
           
 double[] getTempLoad()
           
 double getTime()
           
 void setAntennaId(int antennaId)
           
 void setFeedId(int feedId)
           
 void setGcalEff(float[] gcalEff)
           
 void setInterval(double interval)
           
 void setNoiseCal(double[] noiseCal)
           
 void setNumCalLoad(int numCalLoad)
           
 void setSpectralwindowId(int spectralwindowId)
           
 void setTempLoad(double[] tempLoad)
           
 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

CalDevice

public CalDevice()
An empty constructor.


CalDevice

public CalDevice(int antennaId,
                 int feedId,
                 int spectralwindowId,
                 double time,
                 double interval,
                 int numCalLoad,
                 double[] noiseCal,
                 double[] tempLoad,
                 float[] gcalEff)
A full constructor.

Parameters:
antennaId - Antenna identifier
feedId - Feed identifier
spectralwindowId - Spectral window identifier
time - Time interval mid-point
interval - Time interval
numCalLoad - Number numCalLoad of noiseCal or tempLoad
noiseCal - Noise calibration
tempLoad - Load temperature
gcalEff - Calibration device efficiency/coupling coefficient
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)

setNoiseCal

public void setNoiseCal(double[] noiseCal)

setTempLoad

public void setTempLoad(double[] tempLoad)

setGcalEff

public void setGcalEff(float[] gcalEff)

getAntennaId

public int getAntennaId()

getFeedId

public int getFeedId()

getSpectralwindowId

public int getSpectralwindowId()

getTime

public double getTime()

getInterval

public double getInterval()

getNumCalLoad

public int getNumCalLoad()

getNoiseCal

public double[] getNoiseCal()

getTempLoad

public double[] getTempLoad()

getGcalEff

public float[] getGcalEff()