public class Spectrum1DArray extends Wavelength1DArray implements Spectrum
This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project for Next Generation Space Telescope (NGST).
AbstractScienceObject.EventMonitor
DATA_PROPERTY
fFluxUnits, MAXWAVELENGTH_PROPERTY, MINWAVELENGTH_PROPERTY, NUMPOINTS_PROPERTY
cloneIndent
DATA_SOURCE_PROPERTY, MORE_DATA_PROPERTY
NAME_PROPERTY, PENDING_PROPERTY, VALID_PROPERTY
Constructor and Description |
---|
Spectrum1DArray()
Default constructor.
|
Spectrum1DArray(int x) |
Spectrum1DArray(String name) |
Spectrum1DArray(String name,
int npts) |
Spectrum1DArray(String name,
int npts,
String units) |
Spectrum1DArray(Wavelength1DModel array) |
Spectrum1DArray(Wavelength1DModel array,
String units) |
Modifier and Type | Method and Description |
---|---|
double |
getTotalCounts()
Returns the total counts in photons/sec/cm^2.
|
boolean |
isNormalizationRequired()
Always returns false.
|
add, alignData, clone, combineData, equals, getArea, getIndexOf, getIndexOf, getNumPoints, getValue, getValue, getValueAtIndex, getWavelengthAtIndex, getWavelengthAtIndexAsDouble, getWavelengthUnits, mergeData, multiply, parse, parse, parse, parseAscii, parseFits, replaceDataSet, setAllNaN, setAllNaN, setFluxUnits, setNumPoints, setPending, setValue, setValueAtIndex, setWavelengthAtIndex, setWavelengthAtIndex, toArrayData, toArrayData, toArrayData, toArrayData, toArrayWavelengths, toArrayWavelengths, toArrayWavelengths, trim
calcArea, calculateArea, getArea, getArea, getArea, getFluxUnits, getIndexOf, getIndexOf, getIndexOf, getIndexOf, isEditable, toArrayWavelengths
addChild, getChildren, getDataSource, indexOfChild, initializeTransients, isHolding, isMoreDataAvailable, isPending, isUpToDate, isValid, namedClone, processUpdates, removeAllChildren, removeChild, repeat, replaceChild, replaceObject, requestMoreData, retrieveMoreData, saveAsText, saveAsText, setDataSource, setHolding, setMoreDataAvailable, setTracing, setUpdatesPending, update
addEventMonitor, addPropertyChangeListener, areNamesEqual, clearAllListeners, compareTo, createDefaultName, firePropertyChange, firePropertyChange, fireReplaceObject, fireReplaceObject, fireReplaceObject, fireVetoableChange, fireVetoableChange, getException, getLabel, getName, getObjectIdString, getObjectIdString, getParent, isTracing, notifyEventMonitors, propertyChange, removeEventMonitor, removePropertyChangeListener, replaceObjectNYI, setException, setName, setParent, setTraceAll, toString, writeDebug, writeError
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, getArea, getArea, getArea, getArea, getFluxUnits, getNumPoints, getValue, isEditable, removePropertyChangeListener, setFluxUnits, setValue, toArrayData, toArrayData, toArrayWavelengths, toArrayWavelengths
addChild, getChildren, getDataSource, isMoreDataAvailable, isPending, removeAllChildren, removeChild, replaceChild, requestMoreData, retrieveMoreData, setDataSource, setMoreDataAvailable
clearAllListeners, clone, firePropertyChange, getException, getLabel, getName, getParent, isHolding, isTracing, isValid, setException, setHolding, setName, setParent, setTracing
replaceObject
propertyChange
public Spectrum1DArray()
public Spectrum1DArray(Wavelength1DModel array)
public Spectrum1DArray(String name, int npts)
public Spectrum1DArray(int x)
public Spectrum1DArray(String name)
public Spectrum1DArray(Wavelength1DModel array, String units)
public boolean isNormalizationRequired()
isNormalizationRequired
in interface Spectrum
public double getTotalCounts()
getTotalCounts
in interface Spectrum
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.