public class AveragePinhole extends AbstractPinholeModel
ph(r)=1+(atan(k*(x-FWHM/2))-atan(k*(x+FWHM/2)))/π,where bigger k's mean steeper slope. A plot can be found
size, steep, deep. Additionally to the shift of the pinhole, we
also get a hold on the seeing and total flux of the star.
This class is similar to ModelShift, but it goes a step further and
also models pinhole movements. This can only be used on very high S/N date.
| Modifier and Type | Class and Description |
|---|---|
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.
|
static class |
AveragePinhole.Test
Test class.
|
AbstractPinholeModel.AbstractPinholeFitsAbstractPinholeShift.Background, AbstractPinholeShift.Evaluate, AbstractPinholeShift.Reconstruct| Modifier and Type | Field and Description |
|---|---|
private static boolean |
DEFFITDEEP |
private static boolean |
DEFFITFLUX |
private static boolean |
DEFFITPOSITION |
private static boolean |
DEFFITSIZE |
private static boolean |
DEFFITSTAR |
private static boolean |
DEFFITSTEEP |
private static double |
DEFMOFFATBETA
The moffat-beta, 4.765 is literature value.
|
private static double |
DEFPINHOLEDEEP
Broad-band anti-reflective coating, typically.
|
private static double |
DEFPINHOLESIZE
Default size (FWHM) of pinhole, pixel.
|
private static double |
DEFPINHOLESTEEP
Pinhole model steepness.
|
private static double |
DEFSTARSIZEFRAC |
private static double |
DEFVANISH |
private double |
firstflux |
static String |
KEY_FITDEEP
The pinhole model minimum transmission .
|
static String |
KEY_FITFLUX
The pinhole model minimum transmission .
|
static String |
KEY_FITPOSITION
The pinhole model minimum transmission .
|
static String |
KEY_FITSFWHM
The pinhole model minimum transmission .
|
static String |
KEY_FITSTAR
The pinhole model minimum transmission .
|
static String |
KEY_FITSTEEP
The pinhole model minimum transmission .
|
static String |
KEY_MOFFATBETA
The moffat-beta, 4.765 is literature value.
|
static String |
KEY_PINHOLEDEEP
The pinhole model minimum transmission .
|
static String |
KEY_PINHOLESIZE
The pinhole diameter.
|
static String |
KEY_PINHOLESTEEP
The pinhole model steepness .
|
static String |
KEY_STARSIZEFRAC
The star to pinhole FWHM
|
static String |
KEY_VANISH
The normal vanish fraction
|
fit, KEY_MU, KEY_PIXELSCALE, KEY_USESIMPLEXKEY_ADNOISE, KEY_APPLICABLE, KEY_GAIN, KEY_PINHOLE, KEY_SIGMACLIP, KEY_SKYTHICKKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
AveragePinhole(Map<String,String> prop)
Constructs a model-shift.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPinholeModel.AbstractPinholeFits |
generatePinholeModel(MImageHDU hdu,
Rectangle frame,
double back,
double backerr,
Point2D pinhole)
This method intializes the pinhole model used in the fitting process
during
AbstractPinholeModel.initFiberView(fits.hdu.MFits). |
Vector2D |
getBackground(MImageHDU hdu)
This method calculates the background as the median of a frame at the
outer edge of the applicable window.
|
double |
getFlux()
Returns the total flux from the last solution, if possible.
|
double |
getFwhm()
Returns the fwhm from the last solution, if possible.
|
Point2D |
getPinholePosition()
Returns the pinhole position.
|
Point2D |
getStarPosition()
Returns the star position.
|
getBox, getGnuPlotLines, getMeasures, getModel, getModel, getRelativeStarModel, getRemainingFlux, getResiduals, getRms, getSolution, getStarModel, initFiberView, solveFiberView, sumupbackgroundFrameMean, backgroundFrameMedian, backgroundMean, backgroundMedian, getAduSignal, getApplicableWindow, getSignalToNoise, initaugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_MOFFATBETA
public static final String KEY_VANISH
public static final String KEY_STARSIZEFRAC
public static final String KEY_PINHOLESIZE
public static final String KEY_PINHOLESTEEP
public static final String KEY_PINHOLEDEEP
public static final String KEY_FITFLUX
public static final String KEY_FITSTAR
public static final String KEY_FITPOSITION
public static final String KEY_FITSFWHM
public static final String KEY_FITDEEP
public static final String KEY_FITSTEEP
private static final double DEFMOFFATBETA
private static final double DEFVANISH
private static final double DEFSTARSIZEFRAC
private static final double DEFPINHOLESIZE
private static final double DEFPINHOLESTEEP
private static final double DEFPINHOLEDEEP
private static final boolean DEFFITFLUX
private static final boolean DEFFITSTAR
private static final boolean DEFFITPOSITION
private static final boolean DEFFITSIZE
private static final boolean DEFFITSTEEP
private static final boolean DEFFITDEEP
private double firstflux
public Vector2D getBackground(MImageHDU hdu)
protected AbstractPinholeModel.AbstractPinholeFits generatePinholeModel(MImageHDU hdu, Rectangle frame, double back, double backerr, Point2D pinhole) throws BasicFitsException
AbstractPinholeModel.initFiberView(fits.hdu.MFits). We supply the image data, the applicable
image rectangle, the background estimate plus its error and the
zero-order pinhole position.generatePinholeModel in class AbstractPinholeModelBasicFitsExceptionpublic Point2D getPinholePosition()
getPinholePosition in interface PinholeShiftgetPinholePosition in class AbstractPinholeShiftpublic Point2D getStarPosition()
getStarPosition in class AbstractPinholeModelpublic double getFlux()
getFlux in interface PinholeShiftgetFlux in class AbstractPinholeShiftpublic double getFwhm()
getFwhm in interface PinholeShiftgetFwhm in class AbstractPinholeShift