alma.aedf.types
Class Feed

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

public class Feed
extends AEDF

Feed charactersitics.

A feed is a collecting element on an antenna, such as a single horn, that shares joint physical properties and makes sense to calibrate as a single entity. It is an abstraction of a generic antenna feed and is considered to have one or more RECEPTORs that respond to different polarization states. A FEED may have a time-variable beam and polarization response. FEEDs are numbered from 0 on each separate antenna and for each spectralwindowId. Consequently, number should be non-zero only in the case of feed arrays, i.e. multiple, simultaneous beam on the sky at the same frequency and polarization.


Constructor Summary
Feed()
          An empty constructor.
Feed(int antennaId, int feedId, int spectralwindowId, double time, double interval, int numRx, int number, int[] greceiverId, int[] beamId, double[] beamOffset, double[] focusRef, float illumOffset, float illumOffsetPa, java.lang.String[] polType, float[] polResponse, double[] position, double[] rxAngle)
          A full constructor.
 
Method Summary
 void addField(java.lang.String f)
           
 int getAntennaId()
           
 int[] getBeamId()
           
 double[] getBeamOffset()
           
 int getFeedId()
           
 double[] getFocusRef()
           
 int[] getGreceiverId()
           
 float getIllumOffset()
           
 float getIllumOffsetPa()
           
 double getInterval()
           
 int getNumber()
           
 int getNumRx()
           
 float[] getPolResponse()
           
 java.lang.String[] getPolType()
           
 double[] getPosition()
           
 double[] getRxAngle()
           
 int getSpectralwindowId()
           
 double getTime()
           
 void setAntennaId(int antennaId)
           
 void setBeamId(int[] beamId)
           
 void setBeamOffset(double[] beamOffset)
           
 void setFeedId(int feedId)
           
 void setFocusRef(double[] focusRef)
           
 void setGreceiverId(int[] greceiverId)
           
 void setIllumOffset(float illumOffset)
           
 void setIllumOffsetPa(float illumOffsetPa)
           
 void setInterval(double interval)
           
 void setNumber(int number)
           
 void setNumRx(int numRx)
           
 void setPolResponse(float[] polResponse)
           
 void setPolType(java.lang.String[] polType)
           
 void setPosition(double[] position)
           
 void setRxAngle(double[] rxAngle)
           
 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

Feed

public Feed()
An empty constructor.


Feed

public Feed(int antennaId,
            int feedId,
            int spectralwindowId,
            double time,
            double interval,
            int numRx,
            int number,
            int[] greceiverId,
            int[] beamId,
            double[] beamOffset,
            double[] focusRef,
            float illumOffset,
            float illumOffsetPa,
            java.lang.String[] polType,
            float[] polResponse,
            double[] position,
            double[] rxAngle)
A full constructor.

Parameters:
antennaId - Antenna identifier
feedId - Feed identifier
spectralwindowId - Spectral window identifier
time - Interval mid-point
interval - Time interval for validity of the parameters
numRx - Number of receptors numRx on this feed
number - Feed number
greceiverId - Receiver properties.
beamId - 2D antenna beam response.
beamOffset - Beam position offset (on sky but in antenna reference frame)
focusRef - Focus reference position
illumOffset - Illumination offset
illumOffsetPa - Illumination offset position angle
polType - Type of polarization to which a given RECEPTOR responds
polResponse - Feed polarization response
position - Offset of the feed relative to the feed reference
rxAngle - The reference angle for polarization
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)

setNumRx

public void setNumRx(int numRx)

setNumber

public void setNumber(int number)

setGreceiverId

public void setGreceiverId(int[] greceiverId)

setBeamId

public void setBeamId(int[] beamId)

setBeamOffset

public void setBeamOffset(double[] beamOffset)

setFocusRef

public void setFocusRef(double[] focusRef)

setIllumOffset

public void setIllumOffset(float illumOffset)

setIllumOffsetPa

public void setIllumOffsetPa(float illumOffsetPa)

setPolType

public void setPolType(java.lang.String[] polType)

setPolResponse

public void setPolResponse(float[] polResponse)

setPosition

public void setPosition(double[] position)

setRxAngle

public void setRxAngle(double[] rxAngle)

getAntennaId

public int getAntennaId()

getFeedId

public int getFeedId()

getSpectralwindowId

public int getSpectralwindowId()

getTime

public double getTime()

getInterval

public double getInterval()

getNumRx

public int getNumRx()

getNumber

public int getNumber()

getGreceiverId

public int[] getGreceiverId()

getBeamId

public int[] getBeamId()

getBeamOffset

public double[] getBeamOffset()

getFocusRef

public double[] getFocusRef()

getIllumOffset

public float getIllumOffset()

getIllumOffsetPa

public float getIllumOffsetPa()

getPolType

public java.lang.String[] getPolType()

getPolResponse

public float[] getPolResponse()

getPosition

public double[] getPosition()

getRxAngle

public double[] getRxAngle()