stella.util
Class AcquireStarParser
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.log.LogParser
stella.util.AcquireStarParser
- All Implemented Interfaces:
- Cloneable, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
public class AcquireStarParser
- extends LogParser
Parses log files for (failed) acquire and extract the stars found on the
CCD out of it. Used to improve the successful identification of stars via
the elongation and sharpness criterium.
|
Field Summary |
static Point2D |
CENTER
This is the center we search the closest entry to. |
static String |
FIRST
This is the line we scane for in an acquire procedure. |
static String |
HEAD
How an acquire procedure is stqarted. |
static double |
MAXDIST
Maximum allowed binpixel distance to make non-identified star useful. |
static String |
UNIQUE
After this part in the head string, we find the unique entry. |
|
Method Summary |
static void |
main(String[] arg)
Reads the log file on the first command line argument and parser all
offsets out of it. |
Map<String,Guiding.RawStar> |
scan(File f)
Extracts the unique id plus a required offset from a log file |
| Methods inherited from class stella.log.LogParser |
dateFilter, dateFilter, dateFilter, dateFilter, dateFilter, dateFilter, levelFilter, read, read, readFile, readFile, readList, readTail, sshTail |
| 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 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 |
HEAD
public static final String HEAD
- How an acquire procedure is stqarted.
- See Also:
- Constant Field Values
FIRST
public static final String FIRST
- This is the line we scane for in an acquire procedure.
- See Also:
- Constant Field Values
UNIQUE
public static final String UNIQUE
- After this part in the head string, we find the unique entry.
- See Also:
- Constant Field Values
CENTER
public static final Point2D CENTER
- This is the center we search the closest entry to.
MAXDIST
public static final double MAXDIST
- Maximum allowed binpixel distance to make non-identified star useful.
- See Also:
- Constant Field Values
AcquireStarParser
public AcquireStarParser(Map<String,String> prop)
- Constructs a new log parser.
scan
public Map<String,Guiding.RawStar> scan(File f)
throws ParseException
- Extracts the unique id plus a required offset from a log file
- Throws:
ParseException
main
public static void main(String[] arg)
throws ParseException
- Reads the log file on the first command line argument and parser all
offsets out of it. Updates the done-table, if applicable.
- Throws:
ParseException