|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.resource.CorrelationProductGroupAbs edu.nrao.sss.model.resource.evla.WidarCorrelationProductGroup
public class WidarCorrelationProductGroup
A group of WIDAR correlation products that share certain features.
The VCI element to which this class is mapped is
PolProducts
.
Version Info:
$Revision: 2298 $ |
$Date: 2009-05-13 16:26:11 -0600 (Wed, 13 May 2009) $ |
$Author: dharland $ (last person to modify) |
Field Summary |
---|
Fields inherited from class edu.nrao.sss.model.resource.CorrelationProductGroupAbs |
---|
channels, needToRecalcChannels |
Fields inherited from interface edu.nrao.sss.util.Identifiable |
---|
UNIDENTIFIED |
Method Summary | |
---|---|
protected void |
copyInto(CorrelationProductGroupAbs other)
Sets other 's internal variables to the same values as those of
this group. |
boolean |
equals(Object o)
Returns true if o is equal to this group. |
int |
fixBlbpCount()
Adjusts, if necessary, the number of BLBPs allocated to this group and returns the new value. |
SortedSet<Integer> |
getAllowableRecirculationFactors()
Returns the collection of valid recirculation factor values for this group of correlation products. |
AutoCorrSubset |
getAutoCorrSubset()
Returns the auto correlation configuration, if any. |
int |
getBlbpCount()
Returns the current number of baseline board pairs allocated to this group. |
WidarIntegrationTime |
getIntegrationTime()
Returns the integration time for this group. |
int |
getMaximumRecirculationFactor()
Returns the largest allowable recirculation factor for this group of correlation products. |
TimeDuration |
getMinimumTotalIntegrationTime()
Returns the minimum total integration time for this product. |
ProductPacking |
getProductPacking()
|
MaxMinPackType |
getProductPackingAlgorithm()
|
int |
getRecirculationFactor()
Returns the recirculation factor for this group of correlation products. |
StationPacking |
getStationPacking()
|
MaxMinPackType |
getStationPackingAlgorithm()
|
TimeDuration |
getTotalIntegrationTime()
Returns the total integration time for the products of this group. |
List<Integer> |
getValidBlbpCounts()
Returns a list of the number of BLBPs that may be owned by this group. |
int |
hashCode()
|
AutoCorrSubset |
overrideDefaultAutoCorrSubset(boolean override)
Tells this group to override, or restore, auto correlation subset defaults. |
protected void |
recalculateChannels()
Called when something that can influence the total number of channels, or the distribution of channels among products, has changed. |
int |
setBlbpCount(int newTotalCount)
Attempts to allocate the given number of BLBPs to this group. |
void |
setProductPacking(ProductPacking newPacking)
|
void |
setProductPackingAlgorithm(MaxMinPackType newAlg)
|
void |
setRecirculationFactor(int newFactor)
Sets the recirculation factor for this group of correlation products. |
void |
setStationPacking(StationPacking newPacking)
|
void |
setStationPackingAlgorithm(MaxMinPackType newAlg)
|
void |
setTotalIntegrationTime(TimeDuration totalDuration)
Sets the total integration time for the products of this group. |
PolProducts |
toVci()
Returns a Virtual Correlator Interface (VCI) representation of this object. |
Methods inherited from class edu.nrao.sss.model.resource.CorrelationProductGroupAbs |
---|
addPolarizationProduct, clearId, getAllowablePolarizationProducts, getContainer, getId, getSpectralChannels, getSpectralChannels, getUUID, removeAllPolarizationProducts, removeDisallowedProducts, removePolarizationProduct, setContainer |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getMaximumRecirculationFactor()
public SortedSet<Integer> getAllowableRecirculationFactors()
public void setRecirculationFactor(int newFactor)
Recirculation is a means of producing more spectral channels per polarization product.
newFactor
- the new recirculation factor for this group of correlation products.
The minimum value is 1 and the maximum value is
give by getMaximumRecirculationFactor()
.
All valid values in between the limits are integral powers
of two. If newFactor
is not a valid value, this
method will set the recirculation factor to the largest valid
value that is less than newFactor
(except for the case
where newFactor
is less than the minimum, in which case
the minimum valid value will be used).public int getRecirculationFactor()
setRecirculationFactor(int)
public void setTotalIntegrationTime(TimeDuration totalDuration)
Note that this object will not hold a reference to totalDuration, so clients may continue to use it without affecting this object.
totalDuration
- the total integration duration for the products of this group.public TimeDuration getTotalIntegrationTime()
The returned duration is not referenced internally, so clients may alter it without affecting this object.
public TimeDuration getMinimumTotalIntegrationTime()
The returned duration is not referenced internally, so clients may alter it without affecting this object.
public WidarIntegrationTime getIntegrationTime()
The object returned is the one held internally by this group, so changes made to it will be reflected herein.
public List<Integer> getValidBlbpCounts()
The returned list is sorted from lowest to highest.
public int setBlbpCount(int newTotalCount)
newTotalCount
- the desired number of baseline board pairs to assign to this group.
public int getBlbpCount()
fixBlbpCount()
to simultaneously adjust the allocated number
to a legal value and obtain that number.
public int fixBlbpCount()
protected void recalculateChannels()
CorrelationProductGroupAbs
recalculateChannels
in class CorrelationProductGroupAbs
public PolProducts toVci()
public AutoCorrSubset overrideDefaultAutoCorrSubset(boolean override)
override
- instruction to override, or restore, auto correlation subset defaults.
override
is false.
If override
is true, returns the AutoCorrSubset
held internally by this group. This means clients can operate
directly on the returned object and impact this group.public AutoCorrSubset getAutoCorrSubset()
This is a VCI property. The returned object was generated from VCI XML schema elements and is the actual instance held internally by this baseband.
overrideDefaultAutoCorrSubset(boolean)
public void setProductPacking(ProductPacking newPacking)
public ProductPacking getProductPacking()
public void setProductPackingAlgorithm(MaxMinPackType newAlg)
public MaxMinPackType getProductPackingAlgorithm()
public void setStationPacking(StationPacking newPacking)
public StationPacking getStationPacking()
public void setStationPackingAlgorithm(MaxMinPackType newAlg)
public MaxMinPackType getStationPackingAlgorithm()
protected void copyInto(CorrelationProductGroupAbs other)
CorrelationProductGroupAbs
other
's internal variables to the same values as those of
this group. The exceptions are the ID, which is cleared, and the UUID.
copyInto
in class CorrelationProductGroupAbs
other
- a correlation product group whose values should be set to mimic the
values in this group.public boolean equals(Object o)
CorrelationProductGroupAbs
Items not compared in the equality tests:
Note that the number and type of correlation products is examined, but not the channels for each. Subclasses may use such a check in their overrides of this method.
equals
in class CorrelationProductGroupAbs
public int hashCode()
hashCode
in class CorrelationProductGroupAbs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |