-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace use of deprecated dodal plan writing utils (#99)
Co-authored-by: Stanislaw Malinowski <[email protected]>
- Loading branch information
1 parent
585ef60
commit 9ab2fcd
Showing
8 changed files
with
110 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
from bluesky.protocols import Readable | ||
from dodal.beamlines.i22 import ( | ||
dcm, | ||
fswitch, | ||
hfm, | ||
i0, | ||
it, | ||
linkam, | ||
oav, | ||
panda1, | ||
saxs, | ||
slits_1, | ||
slits_2, | ||
slits_3, | ||
slits_4, | ||
slits_5, | ||
slits_6, | ||
synchrotron, | ||
undulator, | ||
vfm, | ||
waxs, | ||
) | ||
from dodal.devices.linkam3 import Linkam3 | ||
from ophyd_async.core import StandardDetector | ||
from ophyd_async.fastcs.panda import HDFPanda | ||
|
||
FAST_DETECTORS: set[StandardDetector] = { | ||
saxs(), | ||
waxs(), | ||
i0(), | ||
it(), | ||
} | ||
|
||
DETECTORS: set[StandardDetector] = FAST_DETECTORS | {oav()} | ||
|
||
BASELINE_DEVICES: set[Readable] = { | ||
fswitch(), | ||
slits_1(), | ||
slits_2(), | ||
slits_3(), | ||
slits_4(), | ||
slits_5(), | ||
slits_6(), | ||
hfm(), | ||
vfm(), | ||
undulator(), | ||
dcm(), | ||
synchrotron(), | ||
} | ||
|
||
PANDA: HDFPanda = panda1() | ||
LINKAM: Linkam3 = linkam() | ||
STAMPED_DETECTOR: StandardDetector = saxs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters