alma.aedf.types
Class Source

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

public class Source
extends AEDF

Source information.

This table contains time-variable source information, optionnaly associated with a given fieldId.


Constructor Summary
Source()
          An empty constructor.
Source(int sourceId, double time, double interval, int spectralwindowId, int numLine, int numEpoch, java.lang.String name, java.lang.String catalog, int calibrationGroup, java.lang.String code, double[] direction, double[] position, double[] properMotion, java.lang.String[] transition, double[] restFreq, double[] systemicVel, java.lang.String sourceModel, double deltaVel, double[] rangeVel, int[] sourceParameterId)
          A full constructor.
 
Method Summary
 void addField(java.lang.String f)
           
 int getCalibrationGroup()
           
 java.lang.String getCatalog()
           
 java.lang.String getCode()
           
 double getDeltaVel()
           
 double[] getDirection()
           
 double getInterval()
           
 java.lang.String getName()
           
 int getNumEpoch()
           
 int getNumLine()
           
 double[] getPosition()
           
 double[] getProperMotion()
           
 double[] getRangeVel()
           
 double[] getRestFreq()
           
 int getSourceId()
           
 java.lang.String getSourceModel()
           
 int[] getSourceParameterId()
           
 int getSpectralwindowId()
           
 double[] getSystemicVel()
           
 double getTime()
           
 java.lang.String[] getTransition()
           
 void setCalibrationGroup(int calibrationGroup)
           
 void setCatalog(java.lang.String catalog)
           
 void setCode(java.lang.String code)
           
 void setDeltaVel(double deltaVel)
           
 void setDirection(double[] direction)
           
 void setInterval(double interval)
           
 void setName(java.lang.String name)
           
 void setNumEpoch(int numEpoch)
           
 void setNumLine(int numLine)
           
 void setPosition(double[] position)
           
 void setProperMotion(double[] properMotion)
           
 void setRangeVel(double[] rangeVel)
           
 void setRestFreq(double[] restFreq)
           
 void setSourceId(int sourceId)
           
 void setSourceModel(java.lang.String sourceModel)
           
 void setSourceParameterId(int[] sourceParameterId)
           
 void setSpectralwindowId(int spectralwindowId)
           
 void setSystemicVel(double[] systemicVel)
           
 void setTime(double time)
           
 void setTransition(java.lang.String[] transition)
           
 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

Source

public Source()
An empty constructor.


Source

public Source(int sourceId,
              double time,
              double interval,
              int spectralwindowId,
              int numLine,
              int numEpoch,
              java.lang.String name,
              java.lang.String catalog,
              int calibrationGroup,
              java.lang.String code,
              double[] direction,
              double[] position,
              double[] properMotion,
              java.lang.String[] transition,
              double[] restFreq,
              double[] systemicVel,
              java.lang.String sourceModel,
              double deltaVel,
              double[] rangeVel,
              int[] sourceParameterId)
A full constructor.

Parameters:
sourceId - Source identifier
time - Time interval mid-point
interval - Time interval
spectralwindowId - Spectral window identifier
numLine - Number of spectral lines numLine
numEpoch - Number of epochs numEpoch for provided fluxes
name - Name of source as given during observations
catalog - Catalog name
calibrationGroup - number grouping for calibration purpose
code - Special characteristics of source. eg. Bandpass calibrator
direction - Direction (eg. RA DEC)
position - Position (eg for solar system objects)
properMotion - Proper motion
transition - Transition name
restFreq - Line rest frequency
systemicVel - Systemic velocity at reference
sourceModel - Default csm
deltaVel - Velocity resolution as required by the observer
rangeVel - Velocity range form observer (min,max)
sourceParameterId - Source parameter identifier
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

setSourceId

public void setSourceId(int sourceId)

setTime

public void setTime(double time)

setInterval

public void setInterval(double interval)

setSpectralwindowId

public void setSpectralwindowId(int spectralwindowId)

setNumLine

public void setNumLine(int numLine)

setNumEpoch

public void setNumEpoch(int numEpoch)

setName

public void setName(java.lang.String name)

setCatalog

public void setCatalog(java.lang.String catalog)

setCalibrationGroup

public void setCalibrationGroup(int calibrationGroup)

setCode

public void setCode(java.lang.String code)

setDirection

public void setDirection(double[] direction)

setPosition

public void setPosition(double[] position)

setProperMotion

public void setProperMotion(double[] properMotion)

setTransition

public void setTransition(java.lang.String[] transition)

setRestFreq

public void setRestFreq(double[] restFreq)

setSystemicVel

public void setSystemicVel(double[] systemicVel)

setSourceModel

public void setSourceModel(java.lang.String sourceModel)

setDeltaVel

public void setDeltaVel(double deltaVel)

setRangeVel

public void setRangeVel(double[] rangeVel)

setSourceParameterId

public void setSourceParameterId(int[] sourceParameterId)

getSourceId

public int getSourceId()

getTime

public double getTime()

getInterval

public double getInterval()

getSpectralwindowId

public int getSpectralwindowId()

getNumLine

public int getNumLine()

getNumEpoch

public int getNumEpoch()

getName

public java.lang.String getName()

getCatalog

public java.lang.String getCatalog()

getCalibrationGroup

public int getCalibrationGroup()

getCode

public java.lang.String getCode()

getDirection

public double[] getDirection()

getPosition

public double[] getPosition()

getProperMotion

public double[] getProperMotion()

getTransition

public java.lang.String[] getTransition()

getRestFreq

public double[] getRestFreq()

getSystemicVel

public double[] getSystemicVel()

getSourceModel

public java.lang.String getSourceModel()

getDeltaVel

public double getDeltaVel()

getRangeVel

public double[] getRangeVel()

getSourceParameterId

public int[] getSourceParameterId()