public class GuiderInfo extends Object implements Serializable
StatusSerializer that listens to
incoming adapter stati and keeps the required information and than
serializes it, and a GuiderPanel that deserializes the data and
gets information for the display in a GuiderCanvas out of it.| Modifier and Type | Field and Description |
|---|---|
private List<Guiding.RawStar> |
catalog
The list of
Guiding.RawStars catalog entries. |
static String |
EXTENSION
The default extension for serialize files.
|
private List<Guiding.RawStar> |
ghost
The list of
Guiding.RawStars ghost detections. |
private List<Guiding.RawStar> |
mirror
The list of
Guiding.RawStars mirror detections. |
private Point2D |
pid
The pid shift applied.
|
private double |
rotation
The rotation of the CCD x-axis with respect to the azimuth axis.
|
private Point2D |
shift
The pixel shift applied.
|
private List<Guiding.RawStar> |
spurious
The list of
Guiding.RawStars spurious detections. |
private List<Guiding.RawStar> |
star
The list of
Guiding.RawStars stellar detections. |
private List<Guiding.RawStar> |
strip
The list of
Guiding.RawStars strip detections. |
private long |
timeofpid
The date the pid shift was applied.
|
private long |
timeofshift
The date the pixel shift was applied.
|
| Constructor and Description |
|---|
GuiderInfo() |
| Modifier and Type | Method and Description |
|---|---|
List |
getCatalog()
Accessor method.
|
List |
getGhosts()
Accessor method.
|
List |
getMirrors()
Accessor method.
|
Point2D |
getPid()
Accessor method.
|
double |
getRotation()
Accessor method.
|
Point2D |
getShift()
Accessor method.
|
List |
getSpurious()
Accessor method.
|
List |
getStars()
Accessor method.
|
List |
getStrips()
Accessor method.
|
long |
getTimeOfPid()
Accessor method.
|
long |
getTimeOfShift()
Accessor method.
|
private void |
readObject(ObjectInputStream stream)
On deserialization, first read the hidden object definitions, then the
prosition of the shift.
|
void |
setCatalog(List<Guiding.RawStar> detect)
Accessor method.
|
void |
setGhosts(List<Guiding.RawStar> detect)
Accessor method.
|
void |
setMirrors(List<Guiding.RawStar> detect)
Accessor method.
|
void |
setPid(Point2D pixshift,
long time)
Accessor method.
|
void |
setRotation(double rot)
Accessor method.
|
void |
setShift(Point2D pixshift,
long time)
Accessor method.
|
void |
setSpurious(List<Guiding.RawStar> detect)
Accessor method.
|
void |
setStars(List<Guiding.RawStar> detect)
Accessor method.
|
void |
setStrips(List<Guiding.RawStar> detect)
Accessor method.
|
private void |
writeObject(ObjectOutputStream stream)
Customized serialisation.
|
public static final String EXTENSION
private double rotation
private transient Point2D shift
private transient Point2D pid
private long timeofshift
private long timeofpid
private List<Guiding.RawStar> star
Guiding.RawStars stellar detections.private List<Guiding.RawStar> spurious
Guiding.RawStars spurious detections.private List<Guiding.RawStar> mirror
Guiding.RawStars mirror detections.private List<Guiding.RawStar> ghost
Guiding.RawStars ghost detections.private List<Guiding.RawStar> catalog
Guiding.RawStars catalog entries.private List<Guiding.RawStar> strip
Guiding.RawStars strip detections.public double getRotation()
public void setRotation(double rot)
public Point2D getShift()
public long getTimeOfShift()
public void setShift(Point2D pixshift, long time)
public Point2D getPid()
public long getTimeOfPid()
public void setPid(Point2D pixshift, long time)
public List getStars()
public void setStars(List<Guiding.RawStar> detect)
public List getSpurious()
public void setSpurious(List<Guiding.RawStar> detect)
public List getMirrors()
public void setMirrors(List<Guiding.RawStar> detect)
public List getGhosts()
public void setGhosts(List<Guiding.RawStar> detect)
public List getStrips()
public void setStrips(List<Guiding.RawStar> detect)
public List getCatalog()
public void setCatalog(List<Guiding.RawStar> detect)
private void writeObject(ObjectOutputStream stream) throws IOException
Guiding.RawStar is.IOExceptionprivate void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundException