|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.resource.CorrelatorBasebandAbs edu.nrao.sss.model.resource.vla.VlaBasebandPair
public class VlaBasebandPair
A baseband pair of the VLA correlator.
This class is here for completeness but might never be used. We have a short-term mission to support the VLA correlator, but VLA support will end once WIDAR takes over.
Version Info:
$Revision: 2271 $ |
$Date: 2009-04-28 12:02:17 -0600 (Tue, 28 Apr 2009) $ |
$Author: dharland $ (last person to modify) |
Field Summary |
---|
Fields inherited from class edu.nrao.sss.model.resource.CorrelatorBasebandAbs |
---|
bandwidth, subbands |
Fields inherited from interface edu.nrao.sss.util.Identifiable |
---|
UNIDENTIFIED |
Constructor Summary | |
---|---|
protected |
VlaBasebandPair()
|
protected |
VlaBasebandPair(DigitalSignal inputA,
DigitalSignal inputB)
Helps create a new VLA baseband pair. |
Method Summary | |
---|---|
void |
addSubband(CorrelatorSubband newSubband)
Adds newSubband to this baseband if this baseband is not
already full. |
VlaBasebandPair |
clone()
Returns a copy of this baseband. |
boolean |
equals(Object o)
Returns true if o is equal to this baseband. |
SortedSet<Frequency> |
getAllowableBandwidths()
Returns the set of bandwidths to which this object may be set. |
protected CorrelatorConfiguration |
getContainer()
Returns the correlator configuration that holds this baseband. |
int |
getInitialQuantization()
Returns the number of bits per sample in this baseband. |
Frequency |
getMaximumBandwidth()
Returns the largest bandwidth to which this object may be set. |
int |
getMaxSubbandCount()
Returns the maximum number of subbands this baseband may hold. |
Frequency |
getMinimumBandwidth()
Returns the smallest bandwidth to which this object may be set. |
String |
getName()
Returns the name of this baseband. |
PolarizationType |
getPolarization()
Deprecated. Use getPolarizations() . |
List<PolarizationType> |
getPolarizations()
Returns the polarizations of the signals represented by this baseband. |
FrequencyRange |
getProxiedRange()
Returns the portion of frequency space for which this baseband is a proxy. |
SortedSet<Frequency> |
getSubbandGrid()
Returns a set of frequencies that individual subbands should not cover. |
boolean |
hasDiscreteBandwidths()
Returns true if this object may be set only to pretermined bandwidths. |
int |
hashCode()
Returns a hash code value for this baseband. |
boolean |
isSinglet()
Returns true if this is an unpaired, or singlet, baseband. |
VlaSubband |
makeNewSubband()
Creates and returns a new subband that may later be added to this subband. |
boolean |
proxiedRangeIsReversed()
Returns true if the high and low frequencies in the proxied range are mapped to the low and high frequencies, respectively, of this baseband. |
protected void |
setContainer(CorrelatorConfiguration newContainer)
Sets the correlator configuration to which this baseband belongs. |
Methods inherited from class edu.nrao.sss.model.resource.CorrelatorBasebandAbs |
---|
addNewSubband, clearId, createdSubbandsFromPersistentStore, getAllowableBandwidthClosestTo, getAllowableBandwidthFor, getBandwidth, getId, getProxiedRange, getSubbandCount, getSubbands, isPair, removeAllSubbands, removeOldSubband, removeSubband, removeSubbandAt, setBandwidth, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected VlaBasebandPair(DigitalSignal inputA, DigitalSignal inputB)
IllegalArgumentException
- if input
is null.protected VlaBasebandPair()
Method Detail |
---|
public String getName()
CorrelatorBaseband
public boolean isSinglet()
CorrelatorBaseband
polarizations
represented by this baseband
should be one.
Either this method or CorrelatorBaseband.isPair()
, but not both, should
be true. Only single and paired basebands are anticipated.
protected CorrelatorConfiguration getContainer()
VlaConfiguration
.
getContainer
in class CorrelatorBasebandAbs
protected void setContainer(CorrelatorConfiguration newContainer)
newContainer
is allowed to be null.
If not null, the type of newContainer
must be
VlaConfiguration
.
setContainer
in class CorrelatorBasebandAbs
public FrequencyRange getProxiedRange()
CorrelatorBaseband
public boolean proxiedRangeIsReversed()
CorrelatorBaseband
An example where the return value of this method would be true is if this baseband had a width of 2 GHz and proxied an original range of 45 GHz - 43 GHz, respectively. That is, the 2 GHz signal in the baseband would represent 45 GHz, 1 GHz would represent 44 GHz, and 0 GHz would represent 43 GHz.
public Frequency getMinimumBandwidth()
HasBandwidth
public Frequency getMaximumBandwidth()
HasBandwidth
public boolean hasDiscreteBandwidths()
HasBandwidth
HasBandwidth.getMinimumBandwidth()
and HasBandwidth.getMaximumBandwidth()
.
If the returned value is true, the method
HasBandwidth.getAllowableBandwidths()
will give the set of predetermined
bandwidths.
public SortedSet<Frequency> getAllowableBandwidths()
HasBandwidth
If the return value of HasBandwidth.hasDiscreteBandwidths()
is false
all frequencies in the range allowed by
HasBandwidth.getMinimumBandwidth()
and HasBandwidth.getMaximumBandwidth()
are
valid and this method will return an empty set. Otherwise it will
return the set of allowable bandwidths.
public int getInitialQuantization()
CorrelatorBaseband
@Deprecated public PolarizationType getPolarization()
getPolarizations()
.
public List<PolarizationType> getPolarizations()
CorrelatorBaseband
public int getMaxSubbandCount()
CorrelatorBaseband
public VlaSubband makeNewSubband()
CorrelatorBaseband
The returned subband will belong to no baseband.
public SortedSet<Frequency> getSubbandGrid()
CorrelatorBaseband
The frequencies in the returned set represent a preset subband grid. Subbands may start or end exactly on these frequencies, but should not otherwise contain them. The low and high frequencies of this baseband are included in the returned range. The high frequency is included even if it is not a natural grid point. For example, if this baseband covers the frequency range from 0 to 45 units, with a grid line every 10 units, the returned set will contain 0, 10, 20, 30, 40, and 45 units.
public void addSubband(CorrelatorSubband newSubband)
CorrelatorBaseband
newSubband
to this baseband if this baseband is not
already full.
newSubband
- a subband to be added to this baseband.public VlaBasebandPair clone()
If anything goes wrong during the cloning procedure,
a RuntimeException
will be thrown.
clone
in interface CorrelatorBaseband
clone
in class CorrelatorBasebandAbs
public boolean equals(Object o)
o
is equal to this baseband.
equals
in class CorrelatorBasebandAbs
public int hashCode()
hashCode
in class CorrelatorBasebandAbs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |