public static class AveragePinhole.FullPinhole extends AbstractPinholeModel.AbstractPinholeFits
| Modifier and Type | Field and Description |
|---|---|
private boolean |
fitdeep
If true, we also try to fit the deepness of the pinhole.
|
private boolean |
fitflux |
private boolean |
fitpos
If true, we also try to fit the position of the pinhole.
|
private boolean |
fitsize
If true, we also try to fit the diameter of the pinhole.
|
private boolean |
fitstar
If true, we also try to fit the FWHM of the star.
|
private boolean |
fitsteep
If true, we also try to fit the steepness of the pinhole.
|
private VectorG |
m0
A first estimate of the model parameters, without steep&deep
|
private double |
pindeep
For modeling the pinhole.
|
private Point2D |
pinhole
The fixed pinhole position.
|
private double |
pinsize
The pinhole size in pixel.
|
private double |
pinsteep
For modeling the pinhole, the steepness.
|
private double |
starsize
For modeling the pinhole.
|
private double |
totalflux
The estimate of the total star flux.
|
| Modifier | Constructor and Description |
|---|---|
private |
FullPinhole(MImageHDU measured,
Rectangle box,
double back,
double backerr,
double vanish,
double starfwhm,
Point2D pos,
double pinfwhm,
double k,
double deep,
double moffat)
Constructs a new data model for the pinhole.
|
| Modifier and Type | Method and Description |
|---|---|
VectorG |
evaluateModel(VectorG dxdy,
VectorG xy)
Per definition, the independant variable, time, is here a
two-dimensional vector specifying the location of the pixel.
|
private void |
fitDeep(boolean b) |
private void |
fitFwhm(boolean b) |
private void |
fitPosition(boolean b) |
private void |
fitStarFlux(boolean b) |
private void |
fitStarFwhm(boolean b) |
private void |
fitSteep(boolean b) |
VectorG |
getFirstModel()
Returns a first estimate.
|
VectorG |
getFirstStep()
Returns a first step.
|
int |
getParameterCount()
The model parameters are
Shift of star to pinhole in x-direction, pixel
Shift of star to pinhole in y-direction, pixel
Total ADU flux of star
FWHM of star in pixel.
Shift of true pinhole to pinhole-0 in x-direction, pixel
Shift of true pinhole to pinhole-0 in y-direction, pixel
FWHM of pinhole.
steppness of pinhole
Reflectivity of pinhole
This we
|
double[] |
getStarModel(VectorG dxdy)
Per definition, the model data is a Vector of all data points, not an
area.
|
applyBackground, applyBackgroundaboveBackground, dimension, dimensionOfIndependent, equalData, getArea, getFloatImageData, getFloatImageDataErrors, getFloatImageModel, getFloatImageResiduals, getImageData, getImageDataErrors, getImageModel, getImageResiduals, getMeasureCount, getMeasurementErrors, getMeasures, getMetric, getModel, getResiduals, getRms, getTimes, getTotalErrors, getUpLeft, getYX, photonAndReadoutNoise, setAduErrors, subtractprivate final Point2D pinhole
private final double pinsize
private final double pinsteep
private final double starsize
private final double pindeep
private final double totalflux
private final VectorG m0
private boolean fitstar
private boolean fitpos
private boolean fitsize
private boolean fitsteep
private boolean fitdeep
private boolean fitflux
private FullPinhole(MImageHDU measured, Rectangle box, double back, double backerr, double vanish, double starfwhm, Point2D pos, double pinfwhm, double k, double deep, double moffat) throws IOException, BasicFitsException
IOExceptionBasicFitsExceptionprivate void fitStarFlux(boolean b)
private void fitStarFwhm(boolean b)
private void fitPosition(boolean b)
private void fitFwhm(boolean b)
private void fitDeep(boolean b)
private void fitSteep(boolean b)
public int getParameterCount()
public VectorG getFirstModel()
getFirstModel in class AbstractPinholeModel.AbstractPinholeFitspublic VectorG getFirstStep()
getFirstStep in class AbstractPinholeModel.AbstractPinholeFitspublic double[] getStarModel(VectorG dxdy)
getStarModel in class AbstractPinholeModel.AbstractPinholeFitspublic VectorG evaluateModel(VectorG dxdy, VectorG xy)
dxdy - The model parameters as defined aboveThe - pixel location as a two-dim vector.