|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.util.GuiderParametersAltAz
public class GuiderParametersAltAz
A class to optimize the parameter settings in the stella guider class. It is
used with a list of input stars, given with their right ascension and
declination and a set of x-y coordinates as derived from an actual guider
image (use something like Sextractor to get CCD pixel coordinates). The
set of stellar coordinates must match the set of x/y pixels in a sense
that each star given in the position list is also found on the CCD.
If we have at least two stars visible, this program optimizes
for four parameters, the shift of the center of the CCD (xs, ys), the
field rotation θ and the combined product of focal length and
pixel scale on the CCD, f. If total reflection is in effect, you can
include that by setting #KEY_MIRRORX or #KEY_MIRRORY to
true.
Though θ and the focal length/pixel scale are in principle known, we optimize for these parameter, too.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private static double |
DEFFSCALE
The default focallength. |
private static double |
DEFTHETA
The default rotation angle. |
private static boolean |
DEFXMIRROR
The default x mirror |
private static double |
DEFXSHIFT
The default x shift |
private static boolean |
DEFYMIRROR
The default x mirror |
private static double |
DEFYSHIFT
The default y shift |
private PrintMultidimensional |
dist
The multidimensional function that is to be minimized with amoeba. |
static String |
KEY_CCD
The list of CCD pixels as x,y pairs in pixel. |
static String |
KEY_DATE
If the date of the exposure is given, we calculate the field angle. |
static String |
KEY_DECENTER
The center of the frame. |
static String |
KEY_FSCALE
The key to the starting value of focallength times scale. |
static String |
KEY_RACENTER
The center of the frame in degrees, right ascension. |
static String |
KEY_SITE
If the name of the observatory is given, we do not default to Izana. |
static String |
KEY_STARS
The list of stars as ra,de pairs given in degrees. |
static String |
KEY_THETA
The key to the starting value of field angle |
static String |
KEY_XMIRROR
The key to the mirroring along x-axis. |
static String |
KEY_XSHIFT
The key to the starting value of CCD shift, x |
static String |
KEY_YMIRROR
The key to the mirroring along x-axis. |
static String |
KEY_YSHIFT
The key to the starting value of CCD shift, y |
private List |
pixel
The list of Point2D from the ccd, KEY_CCD. |
private List |
stars
The list of StarDescription from KEY_STARS. |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
GuiderParametersAltAz(Map prop)
Constructs a new guider parameter object and reads in the star and ccd coordinates. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Reads the properties from the command line, construct a new guider parameters object and use an Amoeba to optimize the focal length times pixel scale, the field rotation and the x/y shift. |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
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, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, 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, stringProperties |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
public static final String KEY_FSCALE
public static final String KEY_THETA
public static final String KEY_XSHIFT
public static final String KEY_YSHIFT
public static final String KEY_XMIRROR
public static final String KEY_YMIRROR
public static final String KEY_RACENTER
public static final String KEY_DECENTER
public static final String KEY_STARS
public static final String KEY_CCD
public static final String KEY_DATE
public static final String KEY_SITE
private static final double DEFFSCALE
private static final double DEFTHETA
private static final double DEFXSHIFT
private static final double DEFYSHIFT
private static final boolean DEFXMIRROR
private static final boolean DEFYMIRROR
private List stars
StarDescription from KEY_STARS.
private List pixel
Point2D from the ccd, KEY_CCD.
private PrintMultidimensional dist
| Constructor Detail |
|---|
public GuiderParametersAltAz(Map prop)
| Method Detail |
|---|
public static void main(String[] arg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||