pcdshub / pcdsdevices

Collection of Ophyd device subclasses for IOCs unique to LCLS PCDS.
https://pcdshub.github.io/pcdsdevices/
Other
5 stars 58 forks source link

LODCM Energy Motors #704

Open ZLLentz opened 3 years ago

ZLLentz commented 3 years ago

Expected Behavior

LODCM.energy pseudomotor

Current Behavior

Does not exist in the new python

Possible Solution

Investigate calculations, expand pcdscalc may be needed.

Context

This would allow scanning the LODCM energy Small part of #488

cristinasewell commented 3 years ago

Are we not using the T2C:REF and T2Si:REF on purpose in the link below - are they usually the same as the T1C:REF and T1Si:REF?

https://github.com/pcdshub/old-hutch-configs/blob/18c7769d66a647ab558ad7ebc34d019fc98fbf48/mfx/blinst/lom.py#L326-L338

ZLLentz commented 3 years ago

That's really cryptic... I have no idea. It looks like an error? But maybe it never causes an issue because they are generally the same?

cristinasewell commented 3 years ago

This PR is on my list of Issues now, and I am trying to figure out what else still needs to be done here.

I think we covered most of this PR (or at least a portion of it) in #715 and #766, as well as in pcdshub/pcdscalc#9. @ZryletTC do you know if the scientists got a chance to test the LODMC energy stuff at all?

I also tagged Diling a while ago in this PR (https://github.com/pcdshub/pcdsdevices/issues/763#issuecomment-785360614) to ask for any other functions we might need in LODCM but so far we did not get anything.

ZryletTC commented 3 years ago

@cristinasewell Yeah, they've tested but it's been awhile so I'm not sure if either they or I remember much about what still needs to be done without revisiting it more recently. The only thing I really remember is that I think there were a bunch of subscription errors popping up so we ended up disabling at least the XCS LODCM. I'll see if we can test it out again this week so I can give you a better picture of the current status.