public class OpacityCorrectionModel extends ListenerManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DOES_NOT_CONVERGE |
static java.lang.String |
EPSILON_CHANGE_EVENT |
static double |
EPSILON_DEFAULT |
static java.lang.String |
MAX_ITERATION_CHANGE_EVENT |
static int |
MAX_ITERATION_DEFAULT |
static java.lang.String |
NO_DATA_EVENT |
static java.lang.String |
NO_GAUSSIAN_EVENT |
| Constructor and Description |
|---|
OpacityCorrectionModel(OpacityInterface opacityInterface)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doOpacityCorrection()
Do an opacity correction with the current parameters.
|
double |
getEpsilon()
Return the epsilon.
|
int |
getMaxIteration()
Return the maximum number of iterations.
|
static double |
getMaxTau()
Return the maximum value of the Tau.
|
void |
setEpsilon(double epsilon)
Change the value of epsilon.
|
void |
setMaxIteration(int maxIteration)
Change the maximum number of iterations.
|
static void |
setMaxTau(double newMaxTau)
Change the maximum value of the Tau.
|
addModelListener, clone, fireDataChanged, removeAllListener, removeModelListenerpublic static final java.lang.String EPSILON_CHANGE_EVENT
public static final java.lang.String MAX_ITERATION_CHANGE_EVENT
public static final java.lang.String NO_DATA_EVENT
public static final java.lang.String NO_GAUSSIAN_EVENT
public static final java.lang.String DOES_NOT_CONVERGE
public static final double EPSILON_DEFAULT
public static final int MAX_ITERATION_DEFAULT
public OpacityCorrectionModel(OpacityInterface opacityInterface)
opacityInterface - The OpacityInterface.public double getEpsilon()
public void setEpsilon(double epsilon)
epsilon - The new value of epsilon.public int getMaxIteration()
public void setMaxIteration(int maxIteration)
maxIteration - The new maximum number of iterations.public void doOpacityCorrection()
throws UnknowMoleculeException
UnknowMoleculeException - if a species is not in the database.public static void setMaxTau(double newMaxTau)
newMaxTau - the max value of the Tau.public static double getMaxTau()