Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy motors and detectors #3

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

copy motors and detectors #3

wants to merge 9 commits into from

Conversation

prjemian
Copy link

@prjemian prjemian added the good first issue Good for newcomers label Mar 21, 2023
@prjemian prjemian self-assigned this Mar 21, 2023
@prjemian prjemian marked this pull request as draft March 21, 2023 17:13
@prjemian
Copy link
Author

Noted (in detectors.py) that notebook for images, darks, and flats needs to be updated. Via BCDA-APS/bluesky_training#81, the document URL will change.

@prjemian
Copy link
Author

Implemented and renamed status property for motors to wh, similar to SPEC, to avoid confusion with ophyd's status objects. Here is example for wh property now:

In [1]: %run -i instrument/devices/motors.py

In [2]: tomostage = StageAero(name='tomostage')

In [3]: tomostage.wh
========== ============ ============
name       PV           position    
========== ============ ============
kx         6idhedm:m41  0.00000     
ky         6idhedm:m40  0.00000     
kz         6idhedm:m42  0.00000     
kx_tilt    6idhedm:m44  0.000000    
kz_tilt    6idhedm:m43  0.000000    
rot        6idhedms1:m1 0.0000006352
x_base     6idhedm:m37  0.00200000  
tiltx_base 6idhedm:m38  0.04400     
tiltz_base 6idhedm:m39  0.95000     
========== ============ ============

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

copy detectors from previous configuration copy motors from previous configuration
1 participant