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. |
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 |
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 identifiertime
- Time interval mid-pointinterval
- Time intervalspectralwindowId
- Spectral window identifiernumLine
- Number of spectral lines numLinenumEpoch
- Number of epochs numEpoch for provided fluxesname
- Name of source as given during observationscatalog
- Catalog namecalibrationGroup
- number grouping for calibration purposecode
- Special characteristics of source. eg. Bandpass calibratordirection
- Direction (eg. RA DEC)position
- Position (eg for solar system objects)properMotion
- Proper motiontransition
- Transition namerestFreq
- Line rest frequencysystemicVel
- Systemic velocity at referencesourceModel
- Default csmdeltaVel
- Velocity resolution as required by the observerrangeVel
- Velocity range form observer (min,max)sourceParameterId
- Source parameter identifier
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()