public class GuiderMode extends PropertyContainer implements Initializable, Guiding.RawFrame
| Modifier and Type | Field and Description |
|---|---|
private PIDControl |
altpid
The PID for de.
|
private PIDControl |
azpid
The PID for ra.
|
private static File |
DEFBIASGUIDEFITS
The default fits file holding guider bias image data.
|
private static long |
DEFBIASGUIDETIME
The default exposure time in milli seconds of the bias frame.
|
private static File |
DEFDARKGUIDEFITS
The default fits file holding guider bias image data.
|
private static long |
DEFDARKGUIDETIME
The default exposure time in milli seconds of the bias frame.
|
private static int |
DEFDATAMAXGUIDE
The default data max for 'good' filtered pixels.
|
private static int |
DEFDATAMINGUIDE
The default data min for 'good' filtered pixels.
|
private static double |
DEFEXPOSEGUIDE
The default S/N on guide.
|
private static Dimension |
DEFGUIDEBINNING
The default binning on guide.
|
private static Rectangle |
DEFGUIDEFRAME
The default guiding frame.
|
private static int |
DEFMAXMISSES
The default number of maximum step losses.
|
private static double |
DEFMAXSHIFTGUIDE
The default maximum shift for a successful guide, pixel.
|
private static double |
DEFMAXSHIFTTARGET
The default maximum shift for a successful match, pixel.
|
private static int |
DEFMAXSTEPLOST
The default number of maximum step losses.
|
private static int |
DEFMAXTARGETLOST
The default number of maximum target losses.
|
private static double |
DEFMINACQUIRE
The minimum acquire shift.
|
private static double |
DEFMINOFFSETGUIDE
The default minimum shift to be applied, degrees.
|
private static long |
DEFMINTIMEGUIDE
Minimum exposure time on guiding in ms.
|
private static String |
DEFPIDALTITUDE
The default properties file for the PID altitude.
|
private static String |
DEFPIDAZIMUTH
The default properties file for the PID azimuth.
|
private static long |
DEFPIDPERIOD
The default period the PID on the guider is optimized for
|
private static int |
DEFSEARCHBOXGUIDE
The default search box, unbiased.
|
static String |
KEY_BIASGUIDEFITS
Headerless name of the bias fits file, if we have any.
|
static String |
KEY_BIASGUIDETIME
Integration time on the bias fits.
|
static String |
KEY_DARKGUIDEFITS
Headerless name of the dark fits file, if we have any.
|
static String |
KEY_DARKGUIDETIME
Time of the dark fits file, if we have any.
|
static String |
KEY_DATAMAXGUIDE
A default data maximum value for star detection.
|
static String |
KEY_DATAMINGUIDE
A default data minimum value for star guiding.
|
static String |
KEY_EXPOSEGUIDE
Signal to noise wanted on guide.
|
static String |
KEY_GUIDEBINNING
The binning used during guiding.
|
static String |
KEY_GUIDEFRAME
The window on the guider ccd used on guiding, unbinned.
|
static String |
KEY_MAXMISSES
Maximum allowed guiding losses until internal acquire.
|
static String |
KEY_MAXSHIFTGUIDE
Maximum allowed shift for pinhole during guide.
|
static String |
KEY_MAXSHIFTTARGET
Maximum allowed shift for matched target.
|
static String |
KEY_MAXSTEPLOST
Maximum allowed star losses until target lost.
|
static String |
KEY_MAXTARGETLOST
Maximum allowed target losses until target drop.
|
static String |
KEY_MINACQUIRE
Minimum required shift during guider reacquire, in degrees.
|
static String |
KEY_MINOFFSETGUIDE
Minimum required shift during guide.
|
static String |
KEY_MINTIMEGUIDE
Minimum exposure time on guiding in ms.
|
static String |
KEY_MODENAME
The name of this mode.
|
static String |
KEY_PIDALTITUDE
The properties of the
PIDControl class in altitude. |
static String |
KEY_PIDAZIMUTH
The properties of the
PIDControl class in azimuth. |
static String |
KEY_PIDPERIOD
Period the PIDs are optimized for.
|
static String |
KEY_SEARCHBOXGUIDE
A search box for star detection, unbinned.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
GuiderMode(Map<String,String> prop)
Constructs a new guider mode from its properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearPIDs()
We clear the PIDs.
|
File |
getBiasFrame()
Returns the file holfing the bias image.
|
long |
getBiasTime()
Returns the exposure time of the bias frame.
|
Dimension |
getBinning()
Returns the guiding binning for this mode.
|
File |
getDarkFrame()
Returns the file holding the dark image.
|
long |
getDarkTime()
Returns the exposure time of the bias frame.
|
int |
getDataMax()
Returns the datamax for searching stars for this mode.
|
int |
getDataMin()
Returns the datamin for searching stars for this mode.
|
int |
getMaxMisses()
Number of allowed guiding losses until guider re-acquire is needed in
this mode.
|
double |
getMaxShift()
Returns a pixel distance of the maximum shift allowed during guiding in
this mode.
|
double |
getMaxShiftTarget()
Returns the maximum distance a star image may be off to the pinhole to be
considered still the target we guide on.
|
int |
getMaxStepLost()
Number of allowed guiding losses until master re-acquire is needed in
this mode.
|
int |
getMaxTargetLost()
Number of allowed target losses until abort is needed in this mode.
|
double |
getMinAcquire()
Returns a degree distance of the minimum shift that might be applied on
permanent fiber misses.
|
long |
getMinExposure()
Returns the minimum exposure time for this mode, ms.
|
double |
getMinOffset()
Returns a degree distance of the minimum shift not considered negligable
during guide.
|
String |
getModeName()
Gets the name of the guiding mode.
|
Vector2D |
getPIDCorrection(Vector2D measured)
From a measured shift in az/alt, calculate the PID shift.
|
long |
getPIDPeriod()
Returns the period at which this mode's PID should be fed ion ms.
|
Rectangle |
getReadoutFrame()
Returns the guiding frame for this mode.
|
int |
getSearchBox()
Returns the search box size for searching stars for this mode.
|
double |
getSN()
Returns the target S/N for this mode.
|
void |
init()
Initializes this guider mode.
|
augment, augment, augment, augment, augment, clone, 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, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_MODENAME
public static final String KEY_GUIDEFRAME
public static final String KEY_GUIDEBINNING
public static final String KEY_EXPOSEGUIDE
public static final String KEY_MINTIMEGUIDE
public static final String KEY_DATAMINGUIDE
public static final String KEY_DATAMAXGUIDE
public static final String KEY_SEARCHBOXGUIDE
public static final String KEY_MAXSHIFTGUIDE
public static final String KEY_MAXSHIFTTARGET
public static final String KEY_MINOFFSETGUIDE
public static final String KEY_MINACQUIRE
public static final String KEY_MAXMISSES
public static final String KEY_MAXSTEPLOST
public static final String KEY_MAXTARGETLOST
public static final String KEY_PIDAZIMUTH
PIDControl class in azimuth.public static final String KEY_PIDALTITUDE
PIDControl class in altitude.public static final String KEY_PIDPERIOD
public static final String KEY_BIASGUIDEFITS
public static final String KEY_BIASGUIDETIME
public static final String KEY_DARKGUIDEFITS
public static final String KEY_DARKGUIDETIME
private static final Rectangle DEFGUIDEFRAME
private static final Dimension DEFGUIDEBINNING
private static final double DEFEXPOSEGUIDE
private static final long DEFMINTIMEGUIDE
private static final int DEFDATAMINGUIDE
private static final int DEFDATAMAXGUIDE
private static final int DEFSEARCHBOXGUIDE
private static final double DEFMAXSHIFTGUIDE
private static final double DEFMAXSHIFTTARGET
private static final double DEFMINOFFSETGUIDE
private static final double DEFMINACQUIRE
private static final int DEFMAXMISSES
private static final int DEFMAXSTEPLOST
private static final int DEFMAXTARGETLOST
private static final String DEFPIDAZIMUTH
private static final String DEFPIDALTITUDE
private static final long DEFPIDPERIOD
private static final File DEFBIASGUIDEFITS
private static final long DEFBIASGUIDETIME
private static final File DEFDARKGUIDEFITS
private static final long DEFDARKGUIDETIME
private PIDControl azpid
private PIDControl altpid
public void init()
init in interface Initializablepublic void clearPIDs()
public String getModeName()
public Vector2D getPIDCorrection(Vector2D measured)
public Rectangle getReadoutFrame()
getReadoutFrame in interface Guiding.RawFramepublic Dimension getBinning()
getBinning in interface Guiding.RawFramepublic File getBiasFrame()
getBiasFrame in interface Guiding.RawFramepublic long getBiasTime()
getBiasTime in interface Guiding.RawFramepublic long getDarkTime()
getDarkTime in interface Guiding.RawFramepublic File getDarkFrame()
getDarkFrame in interface Guiding.RawFramepublic long getPIDPeriod()
public double getSN()
public int getDataMin()
public int getDataMax()
public int getSearchBox()
public long getMinExposure()
public double getMaxShift()
public double getMaxShiftTarget()
public double getMinOffset()
public double getMinAcquire()
public int getMaxMisses()
public int getMaxStepLost()
public int getMaxTargetLost()