public interface Guiding
AdapterMaster to acquire and guide. It is based on the assumption
that a guiding CCD is present that can operate in windowing mode. It is read
and interpreted by the implementing class.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Guiding.RawFrame
An interface definition used for setting reductional parameters in the
guider frame.
|
static interface |
Guiding.RawStar
The interface defintion for raw stars.
|
| Modifier and Type | Method and Description |
|---|---|
List<Guiding.RawStar> |
getGuidingStars(Guiding.RawFrame frame,
long expt,
int datamin,
int datamax,
int search,
String type)
Takes a guiding frame and processes it in a way that any steps necessary
to derive star positions out of it.
|
Point2D |
match(List<Guiding.RawStar> raw,
List<Guiding.RawStar> catalog,
double poserror,
double magerr)
Matches a list of
Guiding.RawStars measured against a list of
Guiding.RawStars constructed from a catalog. |
void |
registerCcd(CcdDriver ccd)
Assigns a CCD to the guidng instance.
|
void registerCcd(CcdDriver ccd)
List<Guiding.RawStar> getGuidingStars(Guiding.RawFrame frame, long expt, int datamin, int datamax, int search, String type) throws IOException, IllegalWindowException, IllegalSearchBoxException
Guiding.RawStars. The search box is a dimension in pixel.guide - A rectangle specifying the guiding frame in pixel.binx - Binning factor in x.biny - Binning factor in y.expt - The exposure time in ms.search - The width and height of the search box in pixel. Normally
quadratic.datamin - Minimum data value to consider.datamax - Maximum data value to consider to exclude cosmics.search - Size of search box in pixel.isacquire - The type of the frame. Implementation specificGuiding.RawStars.IllegalWindowException - If the rectangle is invalid, i.e. if the size and/or the
upper left coordinate cannot be realized on the guider CCD.IllegalSearchBoxException - If the search box is too large.IOException - If the CCD cannot be read.Point2D match(List<Guiding.RawStar> raw, List<Guiding.RawStar> catalog, double poserror, double magerr) throws AmbiguousPatternException, NoStarException, CannotMatchException
Guiding.RawStars measured against a list of
Guiding.RawStars constructed from a catalog. In constructing the
list from a catalog, an extra border is applied to account for possible
misspointings of the telescope. The supplied pixel values are applied to
both sides of the guiding frame.raw - The list of Guiding.RawStars. The master deletes all
invalid (i.e. non-star objects) from the list returned by
getGuidingStars(stella.adapter.Guiding.RawFrame, long, int, int, int, java.lang.String).catalog - The list of Guiding.RawStars provided by the
AdapterMaster, calculated from a star catalog. This
list will comprise a bigger field then the expected actual
guider field.poserror - An estimate in pixel of the position errors in the catalog
stars.magerr - An estimate magnitudes of the catalog to image mags.AmbiguousPatternException - If more stars are seen in the raw data than can be matched to
the catalog.NoStarException - If the supplied list of raw stars is empty.CannotMatchException - If matching fails for any other reason.