Comments (8)
i03, i04 and i22 +p38 use this device.
@DominicOram do you have any tips/requirements for this issue?
from dodal.
We already do set it in https://github.com/DiamondLightSource/dodal/blob/main/src/dodal/devices/undulator_dcm.py. We just wrap it in a composite device with the DCM as we want to always move both at the same time. Presumably you want to do that too? Or are you just moving the undulator? Does this just boil down to adding a set
method that calls gap_motor.set
?
from dodal.
I am not sure, will investigate with @iain-hall
from dodal.
yes, ordinarily for scans they move syncrhonously, but this use case is for adjusting them, setting up the desired gap between the elements.
in this instance, we do need to move those independently from one another, therefore we need to have a movable undulator.
Either we make an update to the existing Undulator. This sounds more DRY but might disrupt existing workflows.
An alternative would be to make a new, lookup-tables specific undulator, used only for those times and discarded afterwards. This could be beamline specific or not.
The latter should be fairly simple, as in GDA it's just a simple EpicsMotor at the moment.
from dodal.
will also need a new device that uses redis-cached lookup tables instead of the filesystem text files.
from dodal.
An alternative would be to make a new, lookup-tables specific undulator, used only for those times and discarded afterwards. This could be beamline specific or not.
The undulator_dcm
I linked already does this. You can just move that behaviour into the undulator instead and we can use it in both cases.
will also need a new device that uses redis-cached lookup tables instead of the filesystem text files.
Do you have an existing redis-cache for this? Have you discussed with the scientists how they want to update it?
from dodal.
this will be exposed as a task in the i18_bluesky, and would be updated from there. perhaps another endpoint would display what the current values are? redis-cache needs deployment from scratch.
Ok thanks, I'll move that behavior into the undulator (make it have the motor)
from dodal.
redis deployment is tracked here DiamondLightSource/i18-bluesky#4 (comment)
from dodal.
Related Issues (20)
- Convert to ophyd-async: fluorescence_detector_motion
- Convert to ophyd-async: ipin
- Convert to ophyd-async: qbpm1
- Convert to ophyd-async: scintillator
- Convert to ophyd-async: detector_motion HOT 1
- Write an ophyd-async device against the fastcs eiger HOT 2
- Add ViSR (b01-1) as a beamline with devices
- Make i18 - beamlines files
- Remove XBPMFeedbackI04
- Convert the OAV to ophyd-async
- Remove conversion from string to DetectorSizeConstants in DetectorParams
- i18 KB mirror devices
- Create an ophyd device for Applet2 undulator HOT 4
- Ophyd-async area detector for Pressure Jump Cell
- Make useful scripts into a dodal utility
- Make a redis lookup table caching device HOT 1
- Raise an error when wrong device name HOT 2
- Update copier template to include SLF001
- Decide what to do about B008
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dodal.