|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.source.SourceBrightness edu.nrao.sss.model.source.DescriptiveBrightness
public abstract class DescriptiveBrightness
A base class for all source brightnesses that are not file based.
Version Info:
$Revision: 913 $ |
$Date: 2007-09-25 08:55:39 -0600 (Tue, 25 Sep 2007) $ |
$Author: dharland $ |
Field Summary |
---|
Fields inherited from interface edu.nrao.sss.util.Identifiable |
---|
UNIDENTIFIED |
Method Summary | |
---|---|
FluxDensity |
getPeakFluxDensity()
Returns the peak flux density of this source brightness. |
StokesParameter |
getPolarization()
Returns the polarization of this source brightness. |
FluxDensity |
getTotalFluxDensity()
Returns the total flux density of this source brightness. |
FrequencyRange |
getValidFrequency()
Returns the frequency range for which this source brightness is valid. |
void |
setPeakFluxDensity(FluxDensity newDensity)
Sets the peak flux density of this brightness. |
void |
setPolarization(StokesParameter newPolarization)
Sets the polarization for this brightness. |
void |
setTotalFluxDensity(FluxDensity newDensity)
Sets the total flux density of this brightness. |
void |
setValidFrequency(FrequencyRange newRange)
Sets the valid frequency range for this source brightness. |
Methods inherited from class edu.nrao.sss.model.source.SourceBrightness |
---|
clone, compareTo, createBrightness, createBrightnesses, equals, getBrightnessFile, getDistributionType, getId, getLimbDarkening, getMajorAxisDiameter, getMinorAxisDiameter, getObservation, getPositionAngle, getValidTime, getVlaObservation, hashCode, isFileBased, isValidFor, reset, setValidTime |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setPolarization(StokesParameter newPolarization)
If newPolarization
is null, this brightness's polarization
will be set to a default value.
newPolarization
- the polarization for this source brightness.public void setValidFrequency(FrequencyRange newRange)
If newRange
is null, this brightness's frequency
range will be set to all (positive) frequencies.
Note that this brightness will hold a reference to newRange
(unless it is null). This means that any changes to
newRange
by other objects after this call is made will
be reflected in this brightness.
newRange
- the frequency range for this source brightness.public void setPeakFluxDensity(FluxDensity newDensity)
If newDensity
is null, this brightness's peak flux density
will be set zero janskies.
Note that this brightness will hold a reference to newDensity
(unless it is null). This means that any changes to
newDensity
by other objects after this call is made will
be reflected in this brightness.
newDensity
- the new peak flux density for this source brightness.public void setTotalFluxDensity(FluxDensity newDensity)
If newDensity
is null, this brightness's total flux density
will be set zero janskies.
Note that this brightness will hold a reference to newDensity
(unless it is null). This means that any changes to
newDensity
by other objects after this call is made will
be reflected in this brightness.
newDensity
- the new total flux density for this source brightness.public StokesParameter getPolarization()
SourceBrightness
getPolarization
in class SourceBrightness
public FrequencyRange getValidFrequency()
SourceBrightness
The return value is guaranteed to be non-null. It is also the range that is held internally by this source brightness, so any changes made to the returned range will be reflected in this object.
getValidFrequency
in class SourceBrightness
public FluxDensity getPeakFluxDensity()
SourceBrightness
The returned value is guaranteed to be non-null. It is also the peak flux density that is held internally by this source brightness, so any changes made to the returned flux density will be reflected in this object.
getPeakFluxDensity
in class SourceBrightness
public FluxDensity getTotalFluxDensity()
SourceBrightness
The returned value is guaranteed to be non-null. It is also the total flux density that is held internally by this source brightness, so any changes made to the returned flux density will be reflected in this object.
getTotalFluxDensity
in class SourceBrightness
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |