alma.aedf.types
Class GainCurve

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

public class GainCurve
extends AEDF

Gain curves in pointed directions.

This table provides methods for returning the gaincurve evaluated for the directions pointed in the observation. Several parameterizations of gain curves are described below, based on gain curve information for existing telescopes (cf AIPS). Others are possible, and the implementation should be extensible to other descriptions. numRxis the number of receptors.


Constructor Summary
GainCurve()
          An empty constructor.
GainCurve(int antennaId, int feedId, int spectralwindowId, double time, double interval, int numPntX, int numPntY, double[] apperEff, double[] beamEff, double[] spillEff, double timeOrigin, double[] gain, double[] gainSpectrum, java.lang.String method, java.lang.String methodType, double[] coordX, double[] coordY, double[] gainArray)
          A full constructor.
 
Method Summary
 void addField(java.lang.String f)
           
 int getAntennaId()
           
 double[] getApperEff()
           
 double[] getBeamEff()
           
 double[] getCoordX()
           
 double[] getCoordY()
           
 int getFeedId()
           
 double[] getGain()
           
 double[] getGainArray()
           
 double[] getGainSpectrum()
           
 double getInterval()
           
 java.lang.String getMethod()
           
 java.lang.String getMethodType()
           
 int getNumPntX()
           
 int getNumPntY()
           
 int getSpectralwindowId()
           
 double[] getSpillEff()
           
 double getTime()
           
 double getTimeOrigin()
           
 void setAntennaId(int antennaId)
           
 void setApperEff(double[] apperEff)
           
 void setBeamEff(double[] beamEff)
           
 void setCoordX(double[] coordX)
           
 void setCoordY(double[] coordY)
           
 void setFeedId(int feedId)
           
 void setGain(double[] gain)
           
 void setGainArray(double[] gainArray)
           
 void setGainSpectrum(double[] gainSpectrum)
           
 void setInterval(double interval)
           
 void setMethod(java.lang.String method)
           
 void setMethodType(java.lang.String methodType)
           
 void setNumPntX(int numPntX)
           
 void setNumPntY(int numPntY)
           
 void setSpectralwindowId(int spectralwindowId)
           
 void setSpillEff(double[] spillEff)
           
 void setTime(double time)
           
 void setTimeOrigin(double timeOrigin)
           
 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

GainCurve

public GainCurve()
An empty constructor.


GainCurve

public GainCurve(int antennaId,
                 int feedId,
                 int spectralwindowId,
                 double time,
                 double interval,
                 int numPntX,
                 int numPntY,
                 double[] apperEff,
                 double[] beamEff,
                 double[] spillEff,
                 double timeOrigin,
                 double[] gain,
                 double[] gainSpectrum,
                 java.lang.String method,
                 java.lang.String methodType,
                 double[] coordX,
                 double[] coordY,
                 double[] gainArray)
A full constructor.

Parameters:
antennaId - Antenna identifier
feedId - Feed identifier
spectralwindowId - Spectral window identifier
time - Time interval mid-point
interval - Time interval
numPntX - numPntX
numPntY - numPntY
apperEff - Apperture efficiency
beamEff - Beam efficiency
spillEff - Spillover efficiency
timeOrigin - Time origin for time interpolation
gain - Nominal peak sensitivity
gainSpectrum - Nominal peak sensitivity
method - Method used to describe the gain curve
methodType - Type of axes used to describe the gain curve
coordX - Axis coord. values in X used in the method
coordY - Axis coord. values in Y used in the method
gainArray - Gain curve
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)

setNumPntX

public void setNumPntX(int numPntX)

setNumPntY

public void setNumPntY(int numPntY)

setApperEff

public void setApperEff(double[] apperEff)

setBeamEff

public void setBeamEff(double[] beamEff)

setSpillEff

public void setSpillEff(double[] spillEff)

setTimeOrigin

public void setTimeOrigin(double timeOrigin)

setGain

public void setGain(double[] gain)

setGainSpectrum

public void setGainSpectrum(double[] gainSpectrum)

setMethod

public void setMethod(java.lang.String method)

setMethodType

public void setMethodType(java.lang.String methodType)

setCoordX

public void setCoordX(double[] coordX)

setCoordY

public void setCoordY(double[] coordY)

setGainArray

public void setGainArray(double[] gainArray)

getAntennaId

public int getAntennaId()

getFeedId

public int getFeedId()

getSpectralwindowId

public int getSpectralwindowId()

getTime

public double getTime()

getInterval

public double getInterval()

getNumPntX

public int getNumPntX()

getNumPntY

public int getNumPntY()

getApperEff

public double[] getApperEff()

getBeamEff

public double[] getBeamEff()

getSpillEff

public double[] getSpillEff()

getTimeOrigin

public double getTimeOrigin()

getGain

public double[] getGain()

getGainSpectrum

public double[] getGainSpectrum()

getMethod

public java.lang.String getMethod()

getMethodType

public java.lang.String getMethodType()

getCoordX

public double[] getCoordX()

getCoordY

public double[] getCoordY()

getGainArray

public double[] getGainArray()