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.
 
Method Summary
 void addField(java.lang.String f)
           
 java.lang.String[] getAssocNature()
           
 int[] getAssSpwiId()
           
 int getBbcNo()
           
 int getBbcSideband()
           
 double[] getChanFreq()
           
 double[] getChanWidth()
           
 int getDopplerId()
           
 double[] getEffectiveBW()
           
 boolean getFlagRow()
           
 int getFreqGroup()
           
 java.lang.String getFreqGroupName()
           
 int getIFconvChain()
           
 int getMeasFreqRef()
           
 java.lang.String getName()
           
 int getNetSideband()
           
 int getNumChan()
           
 double getRefFreq()
           
 double[] getResol()
           
 double getTotBW()
           
 void setAssocNature(java.lang.String[] assocNature)
           
 void setAssSpwiId(int[] assSpwiId)
           
 void setBbcNo(int bbcNo)
           
 void setBbcSideband(int bbcSideband)
           
 void setChanFreq(double[] chanFreq)
           
 void setChanWidth(double[] chanWidth)
           
 void setDopplerId(int dopplerId)
           
 void setEffectiveBW(double[] effectiveBW)
           
 void setFlagRow(boolean flagRow)
           
 void setFreqGroup(int freqGroup)
           
 void setFreqGroupName(java.lang.String freqGroupName)
           
 void setIFconvChain(int IFconvChain)
           
 void setMeasFreqRef(int measFreqRef)
           
 void setName(java.lang.String name)
           
 void setNetSideband(int netSideband)
           
 void setNumChan(int numChan)
           
 void setRefFreq(double refFreq)
           
 void setResol(double[] resol)
           
 void setTotBW(double totBW)
           
 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

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 numChan
name - Spectral window name
refFreq - The reference frequency
chanFreq - Center frequencies for each channel in the data matrix
chanWidth - Channel width for each channel in the data matrix
measFreqRef - FREQUENCY Measure ref.
effectiveBW - The effective noise bandwidth for each channel in the data matrix
resol - The effective spectral resolution for each channel in the data matrix
totBW - Total bandwidth for this window
netSideband - Net sideband
bbcNo - Baseband converter no
bbcSideband - BBC sideband
IFconvChain - IF conversion chain
freqGroup - Frequency group
freqGroupName - Frequency group name
dopplerId - Doppler identifier
assSpwiId - Associate spectral-window identifier
assocNature - Nature of association
flagRow - The row flag
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

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()