helper class for SpectrumExplorer, maintains a list of spectra, automatically caches data
when necessary, handles both world and screen coordinates, can be used to align the
colorband, and the plot windows.
helper function which performs data conversion of the input value (x) based on the
coordinate system of the plot (nu or lambda) and the coordinate system of the
spectrum (blackbody function, data file, et cetera).
FILL -
Static variable in class edu.bu.lite.periodictable.TextUtil
modern OS, modern programming language, unicode support, but the programmer has to do to much
thinking to get the nu (?) and lambda (?) characters to print out,
consequently the label is displayed using ascii characters.
get line 2 of the label for the blackbody function, this includes information about the
percent of the total power in the infrared, optical, and ultraviolet parts of the spectrum.
use private and protected members and methods of ptolemy.plot.EditablePlot class (via SpectrumPlot instance)
to paint each spectrum, automatically aligned with the SpectrumPlot.
javax.swing.table.TableModel implementation which connects the dataset for a particular spectrum
(x,y coordinates) to the javax.swing.table package so that the data can be displayed in a UI table.
Given the arrays xa[0..n-1] and ya[0..n-1] which tabulate a function (with the xa[i]'s in order),
and given the array y2a[0..n-1], which is the output from spline above, and given a value of x,
this routine returns a cubic-spline interpolated value y.
update the plot (and the data) for the given spectrum, this gets called with the properties of the
spectrum change (for example after blackbody.setT(double t).