public class CenterOfGravityShift extends AbstractPinholeShift
| Modifier and Type | Class and Description |
|---|---|
static class |
CenterOfGravityShift.Test
Test class.
|
AbstractPinholeShift.Background, AbstractPinholeShift.Evaluate, AbstractPinholeShift.Reconstruct| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFXGAIN
Default gain factor from fitting artificial images.
|
private static double |
DEFYGAIN
Default gain factor from fitting artificial images.
|
static String |
KEY_XGAIN
This key is the scaling of the center of gravity shift.
|
static String |
KEY_YGAIN
This key is the scaling of the center of gravity shift.
|
KEY_ADNOISE, KEY_APPLICABLE, KEY_GAIN, KEY_PINHOLE, KEY_SIGMACLIP, KEY_SKYTHICKKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
CenterOfGravityShift(Map<String,String> prop)
Constructs a new CenterOfGravityShift object.
|
| Modifier and Type | Method and Description |
|---|---|
Vector2D |
getBackground(MImageHDU hdu)
This method calculates the background as the median of a frame at the
outer edge of the apllicable window.
|
Point2D |
initFiberView(MFits ccd)
Returns the center of gravity shift of the image from the pinhole
position.
|
Point2D |
solveFiberView()
Finally dolves for the pinhole shift.
|
backgroundFrameMean, backgroundFrameMedian, backgroundMean, backgroundMedian, getAduSignal, getApplicableWindow, getFlux, getFwhm, getPinholePosition, 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_XGAIN
public static final String KEY_YGAIN
private static final double DEFXGAIN
private static final double DEFYGAIN
public Vector2D getBackground(MImageHDU hdu)
public Point2D initFiberView(MFits ccd)
ccd - The image of the pinhole entrancepublic Point2D solveFiberView()
PinholeShiftPinholeShift.initFiberView(MFits) before.