|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvec_math.AbstractDataModel
vec_math.AbstractGradientModel
astro.fits.Overscan.WifsipOverscan
public static class Overscan.WifsipOverscan
A non-linear model for fitting the exponentially glow in WiFSIP data. We use a double-exponential to model the overscan region from pixel row zero to approximately 350. The characteristic fall-off length, the two non-linear parameters in the model, have been fitted on an averaged twenty-second dark over five individual exposures.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class vec_math.AbstractDataModel |
|---|
AbstractDataModel.Construct |
| Field Summary | |
|---|---|
private int |
decay
Number of exponential decays with different tau that overlap. |
private static int |
DEFDECAYCOUNT
Number of exponential decays overlapping. |
static String |
KEY_DECAYCOUNT
The number of decaying exp-f we overlay in the non-linear fit. |
static String |
KEY_STARTROW
If we are not stating at row zero. |
private double |
start
Starting row number, zero in most cases. |
| Fields inherited from class vec_math.AbstractDataModel |
|---|
sigma, x, y |
| Constructor Summary | |
|---|---|
Overscan.WifsipOverscan(VectorG[] row,
double[] aduav,
double[] aduerr)
The array of VectorGs actually only contains the row number of the fit, i.e. |
|
Overscan.WifsipOverscan(VectorG[] row,
double[] aduav,
double[] aduerr,
int exp)
The array of VectorGs actually only contains the row number of the fit, i.e. |
|
| Method Summary | |
|---|---|
double |
evaluateModel(VectorG curfit,
VectorG t)
Returns the model adu for the queried row in vector t, which again is a Vector1D, t.a0 = row. |
Matrix |
getGradientMatrix(VectorG curfit)
Returns the matrix that is the gradient to the two-exponential model. |
int |
getParameterCount()
The number of parameters is fixed to five. |
void |
setComposedProperties(PropertySupplying prop)
If we have the KEY_DECAYCOUNT property set, we record the
number of exponential decay laws. |
| Methods inherited from class vec_math.AbstractGradientModel |
|---|
check, check, getNegativeChi2HalfGradient, getNegativeChi2HalfGradient, getPseudoHessian, getPseudoHessian, LevenbergMarquardtSolver |
| Methods inherited from class vec_math.AbstractDataModel |
|---|
getChiSquareModel, getChiSquareModel, getLorentzianModel, getMeasureCount, getMeasurementErrors, getMeasures, getModel, getModel, getResiduals, getResiduals, getRms, getRobustModel, getTimes, getTotalErrors, LorentzianSolver, RobustSolver, SimplexSolver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface vec_math.DataModel |
|---|
getMeasureCount, getMeasurementErrors, getMeasures, getModel, getResiduals, getTimes, getTotalErrors |
| Field Detail |
|---|
public static final String KEY_DECAYCOUNT
public static final String KEY_STARTROW
private static final int DEFDECAYCOUNT
private int decay
private double start
| Constructor Detail |
|---|
public Overscan.WifsipOverscan(VectorG[] row,
double[] aduav,
double[] aduerr)
public Overscan.WifsipOverscan(VectorG[] row,
double[] aduav,
double[] aduerr,
int exp)
| Method Detail |
|---|
public void setComposedProperties(PropertySupplying prop)
KEY_DECAYCOUNT property set, we record the
number of exponential decay laws.
setComposedProperties in interface PropertyAwarepublic int getParameterCount()
getParameterCount in interface DataModelDataModel.getModel(vec_math.VectorG).
public double evaluateModel(VectorG curfit,
VectorG t)
ADU(r=row) = a0 + a1*exp(-a3*r) + a2*exp(-a4*r)+...where the number of exponentials that are overlayed is stored in
decay
evaluateModel in interface DataModelcurfit - The model parameterst - The (one)dimensional vector of independant variables.public Matrix getGradientMatrix(VectorG curfit)
getGradientMatrix in interface GradientModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||