public class FluxFrame extends Frame
All flux values are assumed to be measured at the same frequency or wavelength (as given by the SpecVal attribute). Thus this class is more appropriate for use with images rather than spectra.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for more details.
You should have received a copy of the GNU General Public Licence along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA
Mapping.Interpolator, Mapping.Spreader
LINEAR_INTERPOLATOR, LINEAR_SPREADER, NEAREST_INTERPOLATOR, NEAREST_SPREADER
AST__BAD, AST__TUNULL, pointer
Constructor and Description |
---|
FluxFrame()
Creates a FluxFrame with no default spectral value or frame.
|
FluxFrame(double specval,
SpecFrame specfrm)
Creates a FluxFrame with given spectral frame and value.
|
Modifier and Type | Method and Description |
---|---|
double |
getSpecVal()
Get
the spectral position at which flux values are measured.
|
void |
setSpecVal(double specVal)
Set
the spectral position at which flux values are measured.
|
angle, axAngle, axDistance, axOffset, convert, distance, findFrame, format, getActiveUnit, getAlignSystem, getBottom, getDigits, getDigits, getDirection, getDomain, getDut1, getEpoch, getFormat, getLabel, getMatchEnd, getMaxAxes, getMinAxes, getNaxes, getNormUnit, getObsLat, getObsLon, getPermute, getPreserveAxes, getSymbol, getSystem, getTitle, getTop, getUnit, intersect, norm, offset, offset2, permAxes, pickAxes, resolve, setActiveUnit, setAlignSystem, setBottom, setDigits, setDigits, setDirection, setDomain, setDut1, setEpoch, setEpoch, setFormat, setLabel, setMatchEnd, setMaxAxes, setMinAxes, setObsLat, setObsLon, setPermute, setPreserveAxes, setSymbol, setSystem, setTitle, setTop, setUnit, unformat
decompose, getInvert, getNin, getNout, getReport, getTranForward, getTranInverse, invert, linearApprox, mapBox, mapSplit, rate, rebin, rebinD, rebinF, rebinI, resample, resampleB, resampleD, resampleF, resampleI, resampleL, resampleS, setInvert, setReport, simplify, tran1, tran2, tranGrid, tranN, tranP
annul, clear, copy, delete, equals, finalize, getAstConstantI, getB, getC, getD, getF, getI, getID, getIdent, getL, getNobject, getObjSize, getRefCount, hashCode, isThreaded, reportVersions, sameObject, set, setB, setC, setD, setF, setI, setID, setIdent, setL, show, test, tune
public FluxFrame(double specval, SpecFrame specfrm)
specval
- The spectral value to which the flux values refer, given in the
spectral coordinate system specified by
"specfrm". The value supplied for the "specval"
parameter becomes the default value for the SpecVal attribute.
A value of AST__BAD may be supplied if the spectral position is
unknown, but this may result in it not being possible for the
astConvert
function to determine a Mapping between the new FluxFrame and
some other FluxFrame.specfrm
- A pointer to a SpecFrame describing the spectral coordinate system
in which the
"specval"
parameter is given. A deep copy of this object is taken, so any
subsequent changes to the SpecFrame using the supplied pointer will
have no effect on the new FluxFrame.
A NULL pointer can be supplied if AST__BAD is supplied for "specval".AstException
- if an error occurred in the AST librarypublic FluxFrame()
public double getSpecVal()
The default value and spectral system used for this attribute are both specified when the FluxFrame is created.
public void setSpecVal(double specVal)
The default value and spectral system used for this attribute are both specified when the FluxFrame is created.
specVal
- the SpecVal attribute of this objectCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.