|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstella.adapter.AveragePinhole.FullPinhole
public static class AveragePinhole.FullPinhole
A pinhole model is the model of a star with fitted intensity and FWHM close to the fixed pinhole position at the given coordinates. We fit for the position of the pinhole (as an offset to a fixed position), the position of the star relativ to the pinhole, the fwhm and flux of the star, the steepness of the pinhole, the pinhole diameter and the remaining reflectivity of the pinhole.
| Field Summary | |
|---|---|
private double |
beta
The beta of the moffat function. |
private double[] |
data
The array of the measured data points minus background. |
private boolean |
fitdeep
If true, we also try to fit the deepness of the pinhole. |
private boolean |
fitsteep
If true, we also try to fit the steepness of the pinhole. |
private Dimension |
geometry
The geometry of the frame. |
private VectorG |
m0
A first estimate of the model parameters, without steep&deep |
private double[] |
photsig
The estimated photon noise sigma. |
private double |
pindeep
For modeling the pinhole. |
private double |
pindip
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. |
| Constructor Summary | |
|---|---|
private |
AveragePinhole.FullPinhole(nom.tam.fits.ImageHDU measured,
Rectangle box,
double back,
double backerr,
Point2D pos,
double size,
double k,
double deep,
double moffat)
Constructs a new data model for the pinhole. |
| Method Summary | |
|---|---|
double |
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 |
fitSteep(boolean b)
|
VectorG |
getFirstModel()
Returns a first estimate. |
VectorG |
getFirstStep()
Returns a first step. |
int |
getMeasureCount()
Return the number of measurements in the data model. |
double[] |
getMeasurementErrors()
Returns the photon noise. |
double[] |
getMeasures()
Returns the data array. |
double[] |
getModel(VectorG dxdy)
Per definition, the model data is a Vector of all data points, not an area. |
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[] |
getResiduals(VectorG a)
Returns the residulas. |
double[] |
getStarModel(VectorG dxdy)
Per definition, the model data is a Vector of all data points, not an area. |
VectorG[] |
getTimes()
Returns the evaluation points. |
double[] |
getTotalErrors()
Returns the photon noise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Point2D pinhole
private double pinsize
private double pinsteep
private double pindip
private double pindeep
private double beta
private Dimension geometry
private double[] data
private double[] photsig
private VectorG m0
private boolean fitsteep
private boolean fitdeep
| Constructor Detail |
|---|
private AveragePinhole.FullPinhole(nom.tam.fits.ImageHDU measured,
Rectangle box,
double back,
double backerr,
Point2D pos,
double size,
double k,
double deep,
double moffat)
throws IOException,
nom.tam.fits.FitsException
IOException
nom.tam.fits.FitsException| Method Detail |
|---|
private void fitDeep(boolean b)
private void fitSteep(boolean b)
public int getParameterCount()
getParameterCount in interface DataModelpublic int getMeasureCount()
getMeasureCount in interface DataModelDataModel.getModel(vec_math.VectorG).public double[] getMeasures()
getMeasures in interface DataModelpublic double[] getResiduals(VectorG a)
getResiduals in interface DataModela - The model parameters, not necessarily the best fit.public double[] getTotalErrors()
getTotalErrors in interface DataModelpublic double[] getMeasurementErrors()
getMeasurementErrors in interface DataModelpublic VectorG[] getTimes()
getTimes in interface DataModelDataModel.getMeasureCount().public VectorG getFirstModel()
getFirstModel in interface AbstractPinholeModel.PinholeModelpublic VectorG getFirstStep()
getFirstStep in interface AbstractPinholeModel.PinholeModelpublic double[] getModel(VectorG dxdy)
getModel in interface DataModeldxdy - The model parameters
public double[] getStarModel(VectorG dxdy)
getStarModel in interface AbstractPinholeModel.PinholeModel
public double evaluateModel(VectorG dxdy,
VectorG xy)
evaluateModel in interface DataModeldxdy - The model parameters as defined aboveThe - pixel location as a two-dim vector.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||