WIDAR Classes

ca.nrc.widar.vciMapper
Class SubbandForSpectralWindow

java.lang.Object
  extended by ca.nrc.widar.vciMapper.SubbandForSpectralWindow
All Implemented Interfaces:
java.io.Serializable

public class SubbandForSpectralWindow
extends java.lang.Object
implements java.io.Serializable

Class SubbandForSpectralWindow

Spectral window may consist of several subbands. For 8-bit inital quantization subbands may belong to different basebands, An instance of the class SubbandForSpectralWindow has a single Baseband ID (in the case of dual polarization a Baseband pair) and a list of subbands.

Author:
Sonja.Vrcic@nrc.gc.ca

$Rev:: 3923 $: Revision of the last commit

$Author: svrcic $: Author of the last commit

$LastChangedDate: 2010-11-12 17:56:21 -0800 (Fri, 12 Nov 2010) $

See Also:
Serialized Form
 

Constructor Summary
SubbandForSpectralWindow(int inSwIndex, ca.nrc.widar.jaxb.cbe.SwBbType inSwBbName, int inBaseband, ca.nrc.widar.jaxb.vci.PolarizationType pol)
           
SubbandForSpectralWindow(int i, ca.nrc.widar.jaxb.cbe.SwBbType inSwBbName, int inBasebandA, ca.nrc.widar.jaxb.vci.PolarizationType ap, int inBasebandB, ca.nrc.widar.jaxb.vci.PolarizationType bp)
           
 
Method Summary
 void addSubband(int i)
           
 java.lang.String getApolarization()
           
 int getBbAId()
           
 int getBbBId()
           
 java.lang.String getBpolarization()
           
 ca.nrc.widar.jaxb.cbe.SwmapDual getElementSwmapDual()
           
 java.util.List<java.lang.Integer> getSubbandIds()
           
 int getSwIndex()
           
 boolean hasSbid(int inSbid)
           
 boolean isPair()
           
 boolean sameBaseband(int inBasebandA, ca.nrc.widar.jaxb.vci.PolarizationType ap)
           
 boolean sameBaseband(int inBasebandA, ca.nrc.widar.jaxb.vci.PolarizationType ap, int inBasebandB, ca.nrc.widar.jaxb.vci.PolarizationType bp)
           
 boolean sameBbid(int inA)
           
 boolean sameBbid(int inA, int inB)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubbandForSpectralWindow

public SubbandForSpectralWindow(int i,
                                ca.nrc.widar.jaxb.cbe.SwBbType inSwBbName,
                                int inBasebandA,
                                ca.nrc.widar.jaxb.vci.PolarizationType ap,
                                int inBasebandB,
                                ca.nrc.widar.jaxb.vci.PolarizationType bp)

SubbandForSpectralWindow

public SubbandForSpectralWindow(int inSwIndex,
                                ca.nrc.widar.jaxb.cbe.SwBbType inSwBbName,
                                int inBaseband,
                                ca.nrc.widar.jaxb.vci.PolarizationType pol)
Method Detail

addSubband

public void addSubband(int i)

getSubbandIds

public java.util.List<java.lang.Integer> getSubbandIds()

getSwIndex

public int getSwIndex()

getBbAId

public int getBbAId()

getBbBId

public int getBbBId()

getApolarization

public java.lang.String getApolarization()

getBpolarization

public java.lang.String getBpolarization()

isPair

public boolean isPair()

hasSbid

public boolean hasSbid(int inSbid)

sameBaseband

public boolean sameBaseband(int inBasebandA,
                            ca.nrc.widar.jaxb.vci.PolarizationType ap,
                            int inBasebandB,
                            ca.nrc.widar.jaxb.vci.PolarizationType bp)

sameBaseband

public boolean sameBaseband(int inBasebandA,
                            ca.nrc.widar.jaxb.vci.PolarizationType ap)

sameBbid

public boolean sameBbid(int inA,
                        int inB)

sameBbid

public boolean sameBbid(int inA)

getElementSwmapDual

public ca.nrc.widar.jaxb.cbe.SwmapDual getElementSwmapDual()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

NRAO/DRAO

National Radio Astronomy Observatory