Skip to content

Commit

Permalink
Merge pull request #41 from APS-4ID-POLAR/ruby_motor
Browse files Browse the repository at this point in the history
Ruby motor
  • Loading branch information
gfabbris authored Nov 3, 2020
2 parents 32d3f58 + e26ef2f commit 3875aa9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions profile_bluesky/startup/instrument/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
from .kbic import *
from .user_calc import *
from .ge_controller import *
from .ruby_motors import *
from .filters import *
23 changes: 23 additions & 0 deletions profile_bluesky/startup/instrument/devices/ruby_motors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""
Ruby spectrometer motors.
"""
__all__ = [
'ruby_mot'
]

from ..session_logs import logger
logger.info(__file__)

from ophyd import Component, MotorBundle, EpicsMotor
from ..framework import sd


class RubyMotors(MotorBundle):
focus = Component(EpicsMotor, 'm37', labels=('motor', 'ruby'))
y = Component(EpicsMotor, 'm38', labels=('motor', 'ruby'))
z = Component(EpicsMotor, 'm39', labels=('motor', 'ruby'))
zoom = Component(EpicsMotor, 'm40', labels=('motor', 'ruby'))


ruby_mot = RubyMotors('4iddx:', name='ruby_motors')
sd.baseline.append(ruby_mot)

0 comments on commit 3875aa9

Please sign in to comment.