public class GuidingStatistic extends PropertyContainer
KEY_MINLENGTH to be considered. If that is the case, the
data
in both axes is fit to a straight line. If the slope and the offset of these
lines are below KEY_MAXOFFSET KEY_MAXSLOPE, the
residuals to
the line fits are used to calculate an RMS of the image motion in
azimuth, altitude, and, using the combined fits, in total. The exposure
time plus the seeing and wind information in the guider file is then
used to create artifical expected image motion from seeing effects. The
RMS of this is calculated and printed out together with the wind-speed,
the seeing and the measured RMSs.| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFMAXOFFSET
Default property value.
|
private static double |
DEFMAXSLOPE
Default property value.
|
private static int |
DEFMINLENGTH
Default property value.
|
private static double |
DEFSEESCALE
Default property value.
|
private static double |
DEFTELESCOPE
Default property value.
|
private static double |
DEFWINDSCALE
Default property value.
|
static String |
KEY_MAXOFFSET
The maximum zero offset in the linear fit.
|
static String |
KEY_MAXSLOPE
The maximum slope in the linear fit.
|
static String |
KEY_MINLENGTH
The minimum length of the guider offset set.
|
static String |
KEY_SEESCALE
The multiplier for reported seeing.
|
static String |
KEY_TELESCOPE
The telescope diameter.
|
static String |
KEY_WINDSCALE
The multiplier for reported wind.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
GuidingStatistic(Map<String,String> prop)
Constructs a new GuidingStatistic object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Reads a file given in the first command line and prints the statistic.
|
boolean |
printStatistic(File serial,
PrintWriter out)
Prints the statistic for the given file.
|
augment, 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_MINLENGTH
public static final String KEY_MAXOFFSET
public static final String KEY_MAXSLOPE
public static final String KEY_TELESCOPE
public static final String KEY_SEESCALE
public static final String KEY_WINDSCALE
private static final int DEFMINLENGTH
private static final double DEFMAXOFFSET
private static final double DEFMAXSLOPE
private static final double DEFTELESCOPE
private static final double DEFSEESCALE
private static final double DEFWINDSCALE
public boolean printStatistic(File serial, PrintWriter out) throws IOException
IOExceptionpublic static void main(String[] arg) throws IOException
IOException