stella.util
Interface MomentsGeometric

All Known Implementing Classes:
E2VGeometry, WifsipMaster.WifsipGeometry

public interface MomentsGeometric

Simple interface defining the capabilites to calculate a readout-box and a fits-extension from a focus star position in absolute coordinates.


Method Summary
 Rectangle getBox(int xpix, int ypix)
          Returns the rectangle that defines the readout-area on a ccd from the focus star position.
 int getExtension(int xpix, int ypix)
          Returns the extension the moment focusser should use.
 Rectangle getMomentsFrame(int xpix, int ypix)
          Returns the moment frame, which should be not bigger than the readout box.
 

Method Detail

getBox

Rectangle getBox(int xpix,
                 int ypix)
Returns the rectangle that defines the readout-area on a ccd from the focus star position. A default implementation may simple return a rectangle with an object-specific box size around it. On multi-amplifier CCD, this might be a little bit more tricky.


getExtension

int getExtension(int xpix,
                 int ypix)
Returns the extension the moment focusser should use. If unsure, return 0 for the first extension or -1 to let the focusser decide.


getMomentsFrame

Rectangle getMomentsFrame(int xpix,
                          int ypix)
Returns the moment frame, which should be not bigger than the readout box.