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

Add chip scanner #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add chip scanner #18

wants to merge 2 commits into from

Conversation

RobertSchaffer1
Copy link

Copy link
Contributor

@JunAishima JunAishima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initial request, mostly for documentation

y = Cpt(MotorWithEncoder, 'XF:17IDC-ES:FMX{Chip:1-Ax:CY}Mtr')
z = Cpt(MotorWithEncoder, 'XF:17IDC-ES:FMX{Gon:2-Ax:Z}Mtr')

def __init__(self, F0_x, F0_y, F1_x, F1_y, F2_x, F2_y,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be documented? looks like the knowledge about what those parameters are could be very easily lost

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good point, we've got a document that this corresponds to, but I should put in a docstring here as well. Is there a good spot you can think of for the doc? We don't want it in this folder, but I could add another one at the top level and include it there.

epics.caput("XF:17IDC-ES:FMX{Zeb:3}:M1:SETPOS.PROC", 1)


class ppmac_input(Device):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason why the class name is not capitalized? would be more consistent

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General incompetence of whatever fool wrote this :P I'll fix that up.

epics.caput("XF:17IDC-ES:FMX{Zeb:3}:M1:SETPOS.PROC", 1)


class ppmac_input(Device):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you refer to the ppmac programs that are to be called in some way? this would be useful for the future when trying to recreate the system on another machine/beamline

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe... I'll have to give some thought as to how to do this, but it's a good idea to keep this as general as possible.

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

Successfully merging this pull request may close these issues.

2 participants