Skip to content

Commit

Permalink
#76 revert, for now
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Dec 27, 2018
1 parent 9d27f49 commit b5037d7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
42 changes: 21 additions & 21 deletions APS_BlueSky_tools/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
~EpicsMotorServoMixin
~EpicsMotorShutter
~EpicsOnOffShutter
~EpicsMotorWithDescription
~EpicsMotorWithMore
~TunableEpicsMotor
~TunableSynAxis
SHUTTERS
Expand Down Expand Up @@ -682,8 +678,9 @@ def tune(self, md=None, **kwargs):
self.post_tune_method()


class TunableSynAxis(AxisTunerMixin, SynAxis): """synthetic axis that can be tuned"""
class TunableEpicsMotor(AxisTunerMixin, EpicsMotor): """EpicsMotor that can be tuned"""
# TODO: issue #76
# class TunableSynAxis(AxisTunerMixin, SynAxis): """synthetic axis that can be tuned"""
# class TunableEpicsMotor(AxisTunerMixin, EpicsMotor): """EpicsMotor that can be tuned"""


class EpicsDescriptionMixin(DeviceMixinBase):
Expand Down Expand Up @@ -808,21 +805,24 @@ class myEpicsMotor(EpicsMotorRawMixin, EpicsMotor): pass
raw = Component(EpicsSignal, ".RRBV", write_pv=".RVAL")


class EpicsMotorWithDescription(EpicsDescriptionMixin, EpicsMotor): """EpicsMotor with description field"""
class EpicsMotorWithMore(
EpicsDescriptionMixin,
EpicsMotorLimitsMixin,
EpicsMotorDialMixin,
EpicsMotorRawMixin,
EpicsMotor):
"""
EpicsMotor with more fields
* description (``desc``)
* soft motor limits (``soft_limit_hi``, ``soft_limit_lo``)
* dial coordinates (``dial``)
* raw coordinates (``raw``)
"""
# TODO: issue #76
# class EpicsMotorWithDescription(EpicsDescriptionMixin, EpicsMotor):
# """EpicsMotor with description field"""
#
# class EpicsMotorWithMore(
# EpicsDescriptionMixin,
# EpicsMotorLimitsMixin,
# EpicsMotorDialMixin,
# EpicsMotorRawMixin,
# EpicsMotor):
# """
# EpicsMotor with more fields
#
# * description (``desc``)
# * soft motor limits (``soft_limit_hi``, ``soft_limit_lo``)
# * dial coordinates (``dial``)
# * raw coordinates (``raw``)
# """


class EpicsMotorShutter(Device):
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports
autodoc_mock_imports = "h5py numpy matplotlib pandas".split()
autodoc_mock_imports = "h5py numpy matplotlib pandas bluesky ophyd databroker pyRestTable".split()
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ dependencies:
- super-state-machine
- versioneer
- pyRestTable
prefix: /home/mintadmin/Apps/BlueSky/envs/toolsdoc

0 comments on commit b5037d7

Please sign in to comment.