spv.spectrum.function
Class CCM
java.lang.Object
java.util.Observable
spv.spectrum.function.Function
spv.spectrum.function.BroadBandFunction
spv.spectrum.function.AbstractExtinction
spv.spectrum.function.CCM
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Observer, Constant
class CCM
- extends AbstractExtinction
Cardelli, Clayton, and Mathis extinction curve
(ApJ, 1989, vol 345, pp 245).
- Version:
- 1.0 - 26Jun03
- Author:
- Ivo Busko (Space Telescope Science Institute)
|
Field Summary |
private static java.lang.String |
myname
|
private static java.lang.String |
R
|
| Fields inherited from class spv.spectrum.function.Function |
botton_panel, CLASS_ATTRIBUTE, COMPONENT, description, EMPIRICAL, form1, frame, FUNCTION_ATTRIBUTE, gui, name, NAME_ATTRIBUTE, notify, PARAMETER_LIST_ATTRIBUTE, PARENT_SERIAL_NUMBER_ATTRIBUTE, pars, REDDENING, SERIAL_NUMBER_ATTRIBUTE, top_panel, type, units, user_id, USERID_ATTRIBUTE |
|
Constructor Summary |
CCM()
Constructor. |
CCM(double ebv,
double r)
Constructor. |
|
Method Summary |
void |
addRawValues(double[] xvar,
double[] yvar)
Expresses the function over an array of independent variable
values, and applies the computed values to the supplied array of
dependent variable values. |
java.lang.String |
getID()
Gets the function ID. |
| Methods inherited from class spv.spectrum.function.Function |
addParameter, addParameterGUI, constrainTo, dispose, enableNotifications, getDescription, getFrameSize, GetInvalidSerialNumber, getName, getNumberOfParameters, getParameter, getParameter, getParent, getParentSerialNumber, getSerialNumber, getType, getUnits, getWidget, getWidget, isShowing, print, refreshGUI, removeParameter, replaceParameterValue, resetObservables, saveAsXML, setChanged, setDefaultMode, setInternalLinks, setParametersFromList, setParentSerialNumber, setParentSerialNumber, setSerialNumber, setUserID, setValue, toString, update |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
R
private static final java.lang.String R
myname
private static final java.lang.String myname
CCM
CCM(double ebv,
double r)
- Constructor.
- Parameters:
ebv - the E(B-V) valuer - the R value
CCM
public CCM()
- Constructor.
getID
public java.lang.String getID()
- Description copied from class:
Function
- Gets the function ID. This method should generate a
string that uniquely identifies the object. An example
could be the function name followed by the value of a
important parameter value, such as "GAUSSIAN center=1.234"
- Overrides:
getID in class AbstractExtinction
- Returns:
- the ID
addRawValues
public void addRawValues(double[] xvar,
double[] yvar)
- Description copied from class:
Function
- Expresses the function over an array of independent variable
values, and applies the computed values to the supplied array of
dependent variable values. Sequential application of this
method over a range of
Function subtypes enables
the building of multi-component models with both emission
(additive) and absorption (multiplicative transparency)
components. It is up to each subclass to decide how exactly
it should act on the dependent variable array.
No checking for Constant.INDEF input values is
performed.
- Specified by:
addRawValues in class Function
- Parameters:
xvar - array with the independent variable valuesyvar - on input: array with the dependent variable values.
on output: array with the updated dependent variable
values