public class DitherAuxiliary extends CommandEvent implements AuxiliaryCommand
AuxiliaryMaster
.CommandEvent.Create| Modifier and Type | Field and Description |
|---|---|
private double |
deoffset
The offset in de, in degrees.
|
private double |
raoffset
The offset in ra, in degrees.
|
static double |
WIFSIPSCALE
Default pixel scale on WiFSIP CCD, deg per pixel.
|
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
DitherAuxiliary(Object src)
Constructs a dither command, grabbing the type from the class name and
setting the command time to the current system time.
|
DitherAuxiliary(Object src,
String id,
long time)
Constructs a new dither telescope command.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLine()
Returns the command line of the dither telescope command.
|
double |
getOffsetDe()
Returns the de-offset of the target.
|
double |
getOffsetRa()
Returns the ra-offset of the target.
|
protected static List<Vector2D> |
parseDitherList(String scc) |
protected static List<Vector2D> |
parseDitherList(String scc,
double scale)
Parses a semicolon-colon bi-list into a list of vector2d symbolizing the
dither offset.
|
protected static Vector2D |
parseDitherSingle(String scc)
Parses a semicolon-colon bi-list into a list of vector2d symbolizing the
dither offset.
|
protected static Vector2D |
parseDitherSingle(String scc,
double scale) |
boolean |
parseLine(String[] all)
Parse the command line into ra and dec of the dither command.
|
void |
setOffset(double xoff,
double yoff)
Sets the degrees offsets in right ascension and declination.
|
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassNamecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourcepublic static final double WIFSIPSCALE
private double raoffset
private double deoffset
public DitherAuxiliary(Object src)
public DitherAuxiliary(Object src, String id, long time)
parseLine(java.lang.String[]) or the setOffset(double, double) method are
called.public String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic void setOffset(double xoff,
double yoff)
xoff - Offset in right ascension, degrees.yoff - Offset in declination, degrees.public double getOffsetRa()
public double getOffsetDe()
protected static List<Vector2D> parseDitherList(String scc, double scale)
protected static Vector2D parseDitherSingle(String scc)