panoptes.pocs.mount.ioptron package¶
Submodules¶
panoptes.pocs.mount.ioptron.base module¶
- class panoptes.pocs.mount.ioptron.base.Mount(location, mount_version=None, *args, **kwargs)[source]¶
Bases:
AbstractSerialMount
Mount class for iOptron mounts.
- initialize(set_rates=True, unpark=False, *arg, **kwargs)[source]¶
Initialize the connection with the mount and setup for location.
iOptron mounts are initialized by sending the following two commands to the mount:
MountInfo
If the mount is successfully initialized, the _setup_location_for_mount method is also called.
- Returns:
Returns the value from self.is_initialized.
- Return type:
- property is_home¶
Mount home status.
- park(ra_direction=None, ra_seconds=None, dec_direction=None, dec_seconds=None, *args, **kwargs)[source]¶
Slews to the park position and parks the mount.
This still uses a custom park command because the mount will not allow the Declination axis to move below 0 degrees.
Note
When mount is parked no movement commands will be accepted.
- Parameters:
ra_direction (str or None) – The direction to move the RA axis. If not provided (the default), then look at config setting, otherwise ‘west’.
ra_seconds (str or None) – The number of seconds to move the RA axis at maximum move speed. If not provided (the default), then look at config setting, otherwise 15 seconds.
dec_direction (str or None) – The direction to move the Declination axis. If not provided (the default), then look at config setting, otherwise ‘north’.
dec_seconds (str or None) – The number of seconds to move the Declination axis at maximum move speed. If not provided (the default), then look at config setting, otherwise 15 seconds.
- Returns:
indicating success
- Return type:
panoptes.pocs.mount.ioptron.cem40 module¶
panoptes.pocs.mount.ioptron.ieq30pro module¶
Module contents¶
- class panoptes.pocs.mount.ioptron.MountGPS(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- EXTRACTED = 2¶
- OFF = 0¶
- ON = 1¶
- class panoptes.pocs.mount.ioptron.MountHemisphere(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- NORTHERN = 1¶
- SOUTHERN = 0¶
- class panoptes.pocs.mount.ioptron.MountInfo(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
The return type given by the MountInfo command to identify the mount.
- CEM120 = 120¶
- CEM120EC = 121¶
- CEM120EC2 = 122¶
- CEM25 = 25¶
- CEM26 = 26¶
- CEM26EC = 27¶
- CEM40 = 40¶
- CEM40EC = 41¶
- CEM60 = 60¶
- CEM60EC = 61¶
- CEM70 = 70¶
- CEM70EC = 71¶
- GEM28 = 28¶
- GEM28EC = 29¶
- GEM45 = 43¶
- GEM45EC = 44¶
- iEQ30Pro = 30¶
- iEQ45Pro = 45¶
- iEQ45ProAA = 46¶
- class panoptes.pocs.mount.ioptron.MountMovementSpeed(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- SIDEREAL_1 = 1¶
- SIDEREAL_128 = 6¶
- SIDEREAL_16 = 4¶
- SIDEREAL_2 = 2¶
- SIDEREAL_256 = 7¶
- SIDEREAL_512 = 8¶
- SIDEREAL_64 = 5¶
- SIDEREAL_8 = 3¶
- SIDEREAL_MAX = 9¶
- class panoptes.pocs.mount.ioptron.MountState(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- AT_HOME = 7¶
- GUIDING = 3¶
- MERIDIAN_FLIPPING = 4¶
- PARKED = 6¶
- SLEWING = 2¶
- STOPPED = 0¶
- TRACKING = 1¶
- TRACKING_PEC = 5¶
- UNKNOWN = 8¶