jsky.science
Interface Spectrum

All Superinterfaces:
java.util.EventListener, java.beans.PropertyChangeListener, ReplaceablePropertyChangeListener, ScienceObjectModel, ScienceObjectNodeModel, Wavelength1DModel
All Known Implementing Classes:
Spectrum1DArray

public interface Spectrum
extends Wavelength1DModel

Extends the Wavelength1DModel to provide additional functionality for needed to act as a 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).

Version:
11.27.2000
Author:
Sandy Grosvenor

Field Summary
 
Fields inherited from interface jsky.science.ScienceObjectNodeModel
DATA_SOURCE_PROPERTY, MORE_DATA_PROPERTY
 
Fields inherited from interface jsky.science.ScienceObjectModel
NAME_PROPERTY, PENDING_PROPERTY, VALID_PROPERTY
 
Method Summary
 double getTotalCounts()
          Returns total counts in the model in units of photons / second / cm^2 (cm^2 is per centimeter squared of mirror area).
 boolean isNormalizationRequired()
          Return true if the spectrum "must" be used with a Normalizer to set the overall brightness.
 
Methods inherited from interface jsky.science.Wavelength1DModel
addPropertyChangeListener, getArea, getArea, getArea, getArea, getFluxUnits, getNumPoints, getValue, isEditable, removePropertyChangeListener, setFluxUnits, setValue, toArrayData, toArrayData, toArrayWavelengths, toArrayWavelengths
 
Methods inherited from interface jsky.science.ScienceObjectNodeModel
addChild, getChildren, getDataSource, isMoreDataAvailable, isPending, removeAllChildren, removeChild, replaceChild, requestMoreData, retrieveMoreData, setDataSource, setMoreDataAvailable
 
Methods inherited from interface jsky.science.ScienceObjectModel
clearAllListeners, clone, firePropertyChange, getException, getLabel, getName, getParent, isHolding, isTracing, isValid, setException, setHolding, setName, setParent, setTracing
 
Methods inherited from interface jsky.util.ReplaceablePropertyChangeListener
replaceObject
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Method Detail

isNormalizationRequired

boolean isNormalizationRequired()
Return true if the spectrum "must" be used with a Normalizer to set the overall brightness. Return false, if a normalizer is optional.


getTotalCounts

double getTotalCounts()
Returns total counts in the model in units of photons / second / cm^2 (cm^2 is per centimeter squared of mirror area).