alma.aedf.types
Class FreqOffset

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

public class FreqOffset
extends AEDF

Frequency offset information.

The table contains frequency offset information to be added directly to the defined frequency labeling in the SpectralWindow sub-table as a Measure offset. This allows bands with small time-variable, ad hoc frequency offsets to be labelled as the same spectralwindowId, and calibrated together if required. This table may also be useful for fine tuning in the definition of the spectral windows for the radiometers as small frequency offsets may be present from one such device to an other. However it may be necessary to use a more general solution by defining one spectral window for each radiometer in case there is not only a global offset from one device to an other.


Constructor Summary
FreqOffset()
          An empty constructor.
FreqOffset(int antennaId, int feedId, int spectralwindowId, double time, double interval, double freqOffset)
          A full constructor.
 
Method Summary
 void addField(java.lang.String f)
           
 int getAntennaId()
           
 int getFeedId()
           
 double getFreqOffset()
           
 double getInterval()
           
 int getSpectralwindowId()
           
 double getTime()
           
 void setAntennaId(int antennaId)
           
 void setFeedId(int feedId)
           
 void setFreqOffset(double freqOffset)
           
 void setInterval(double interval)
           
 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

FreqOffset

public FreqOffset()
An empty constructor.


FreqOffset

public FreqOffset(int antennaId,
                  int feedId,
                  int spectralwindowId,
                  double time,
                  double interval,
                  double freqOffset)
A full constructor.

Parameters:
antennaId - Antenna identifier
feedId - Feed identifier
spectralwindowId - spectralwindowId
time - Time interval mid-point
interval - interval
freqOffset - Frequency offset
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)

setFreqOffset

public void setFreqOffset(double freqOffset)

getAntennaId

public int getAntennaId()

getFeedId

public int getFeedId()

getSpectralwindowId

public int getSpectralwindowId()

getTime

public double getTime()

getInterval

public double getInterval()

getFreqOffset

public double getFreqOffset()