alma.aedf.types
Class SpectralWindow
java.lang.Object
|
+--alma.aedf.types.AEDF
|
+--alma.aedf.types.SpectralWindow
- public class SpectralWindow
- extends AEDF
Spectral window description.
This table describes properties for each defined spectral window. A spectral window is both a frequency label for the associated data in Main, but also represents a generic frequency conversion chain that shares joint physical properties and makes sense to calibrate in a single entity.
Constructor Summary |
SpectralWindow()
An empty constructor. |
SpectralWindow(int numChan,
java.lang.String name,
double refFreq,
double[] chanFreq,
double[] chanWidth,
int measFreqRef,
double[] effectiveBW,
double[] resol,
double totBW,
int netSideband,
int bbcNo,
int bbcSideband,
int IFconvChain,
int freqGroup,
java.lang.String freqGroupName,
int dopplerId,
int[] assSpwiId,
java.lang.String[] assocNature,
boolean flagRow)
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 |
SpectralWindow
public SpectralWindow()
- An empty constructor.
SpectralWindow
public SpectralWindow(int numChan,
java.lang.String name,
double refFreq,
double[] chanFreq,
double[] chanWidth,
int measFreqRef,
double[] effectiveBW,
double[] resol,
double totBW,
int netSideband,
int bbcNo,
int bbcSideband,
int IFconvChain,
int freqGroup,
java.lang.String freqGroupName,
int dopplerId,
int[] assSpwiId,
java.lang.String[] assocNature,
boolean flagRow)
- A full constructor.
- Parameters:
numChan
- Number of spectral channels numChanname
- Spectral window namerefFreq
- The reference frequencychanFreq
- Center frequencies for each channel in the data matrixchanWidth
- Channel width for each channel in the data matrixmeasFreqRef
- FREQUENCY Measure ref.effectiveBW
- The effective noise bandwidth for each channel in the data matrixresol
- The effective spectral resolution for each channel in the data matrixtotBW
- Total bandwidth for this windownetSideband
- Net sidebandbbcNo
- Baseband converter nobbcSideband
- BBC sidebandIFconvChain
- IF conversion chainfreqGroup
- Frequency groupfreqGroupName
- Frequency group namedopplerId
- Doppler identifierassSpwiId
- Associate spectral-window identifierassocNature
- Nature of associationflagRow
- The row flag
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
setNumChan
public void setNumChan(int numChan)
setName
public void setName(java.lang.String name)
setRefFreq
public void setRefFreq(double refFreq)
setChanFreq
public void setChanFreq(double[] chanFreq)
setChanWidth
public void setChanWidth(double[] chanWidth)
setMeasFreqRef
public void setMeasFreqRef(int measFreqRef)
setEffectiveBW
public void setEffectiveBW(double[] effectiveBW)
setResol
public void setResol(double[] resol)
setTotBW
public void setTotBW(double totBW)
setNetSideband
public void setNetSideband(int netSideband)
setBbcNo
public void setBbcNo(int bbcNo)
setBbcSideband
public void setBbcSideband(int bbcSideband)
setIFconvChain
public void setIFconvChain(int IFconvChain)
setFreqGroup
public void setFreqGroup(int freqGroup)
setFreqGroupName
public void setFreqGroupName(java.lang.String freqGroupName)
setDopplerId
public void setDopplerId(int dopplerId)
setAssSpwiId
public void setAssSpwiId(int[] assSpwiId)
setAssocNature
public void setAssocNature(java.lang.String[] assocNature)
setFlagRow
public void setFlagRow(boolean flagRow)
getNumChan
public int getNumChan()
getName
public java.lang.String getName()
getRefFreq
public double getRefFreq()
getChanFreq
public double[] getChanFreq()
getChanWidth
public double[] getChanWidth()
getMeasFreqRef
public int getMeasFreqRef()
getEffectiveBW
public double[] getEffectiveBW()
getResol
public double[] getResol()
getTotBW
public double getTotBW()
getNetSideband
public int getNetSideband()
getBbcNo
public int getBbcNo()
getBbcSideband
public int getBbcSideband()
getIFconvChain
public int getIFconvChain()
getFreqGroup
public int getFreqGroup()
getFreqGroupName
public java.lang.String getFreqGroupName()
getDopplerId
public int getDopplerId()
getAssSpwiId
public int[] getAssSpwiId()
getAssocNature
public java.lang.String[] getAssocNature()
getFlagRow
public boolean getFlagRow()