public class PromptVanish extends PropertyResources implements PromptMatching
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFGUIDERNOISE |
private static double |
DEFMAXDEVBACK
Which quadrant in the background box to use.
|
private static int |
DEFPINHOLEBACK
Background around pinhole box.
|
private static int |
DEFPINHOLEBOX
Box around pinhole.
|
private static double |
DEFSNAVERAGE |
private static double |
DEFSNTOTAL |
static String |
KEY_GUIDERNOISE
Maximum expexted background noise, otherwise star.
|
static String |
KEY_MAXDEVBACK
Which quadrant in the background box to use.
|
static String |
KEY_PINHOLEBACK
Background around pinhole box.
|
static String |
KEY_PINHOLEBOX
Box around pinhole.
|
static String |
KEY_SNAVERAGE
Sigma around pinhole for vanishing.
|
static String |
KEY_SNTOTAL
Signal/N around pinhole for vanishing.
|
KEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Constructor and Description |
|---|
PromptVanish(Map<String,String> props) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
checkForStarInPinhole(Point2D pinhole,
MImageHDU hdu,
Rectangle readout,
Dimension bin,
int box,
int frame,
double readnoise,
double frac,
double tot)
We check if a star is already vanishing in the pinhole.
|
Vector2D |
promptShift(Point2D pinhole,
MImageHDU reduced,
Rectangle readout,
Dimension bin) |
clone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, 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, isNew, parseObject, parseObject, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String KEY_PINHOLEBOX
public static final String KEY_PINHOLEBACK
public static final String KEY_MAXDEVBACK
public static final String KEY_GUIDERNOISE
public static final String KEY_SNAVERAGE
public static final String KEY_SNTOTAL
private static final int DEFPINHOLEBOX
private static final int DEFPINHOLEBACK
private static final double DEFMAXDEVBACK
private static final double DEFGUIDERNOISE
private static final double DEFSNAVERAGE
private static final double DEFSNTOTAL
public Vector2D promptShift(Point2D pinhole, MImageHDU reduced, Rectangle readout, Dimension bin)
promptShift in interface PromptMatchingpinhole - The pivotal point.reduced - The reduced frame from the ccd, i.e., bias subtracted and
flatfielded if required, raw if sufficientreadout - The window on the chip.bin - The binning used.private boolean checkForStarInPinhole(Point2D pinhole, MImageHDU hdu, Rectangle readout, Dimension bin, int box, int frame, double readnoise, double frac, double tot) throws BasicFitsException
pinhole - Pinhole positionhdu - fits image from guider CCDreadout - bin - box - Size that includes pinhole plus edge with signalframe - Around box for background determinationreadnoise - frac - Average signal around pinhole is higher than background by this
factor.tot - Total signal around pinhole is higher than background by this
factor.BasicFitsException