-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1002 from BCDA-APS/975-2M-undulator
2M & 4M undulators @MDecarabas Thanks!
- Loading branch information
Showing
5 changed files
with
86 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ | |
~PlanarUndulator | ||
~Revolver_Undulator | ||
~STI_Undulator | ||
~Undulator2M | ||
~Undulator4M | ||
.. note:: The ``ApsUndulator`` and ``ApsUndulatorDual`` device support | ||
classes have been removed. These devices are not used in the APS-U era. | ||
""" | ||
|
||
import logging | ||
|
@@ -166,7 +171,7 @@ class Revolver_Undulator(ID_Spectrum_Mixin, ID_Controls_Mixin, ID_Misc_Mixin, De | |
class STI_Undulator(PlanarUndulator): | ||
"""APS Planar Undulator built by STI Optronics. | ||
.. index:: | ||
.. index:: | ||
Ophyd Device; PlanarUndulator | ||
Ophyd Device; STI_Undulator | ||
|
@@ -178,6 +183,44 @@ class STI_Undulator(PlanarUndulator): | |
""" | ||
|
||
|
||
class Undulator2M(ID_Spectrum_Mixin, ID_Controls_Mixin, ID_Misc_Mixin, Device): | ||
"""APS 2M Undulator. | ||
.. index:: | ||
Ophyd Device; PlanarUndulator | ||
Ophyd Device; Undulator2M | ||
APS Use: 1ID, downstream. | ||
EXAMPLE:: | ||
undulator = Undulator2M("S01ID:DSID:", name="undulator") | ||
""" | ||
|
||
# PVs not found | ||
busy = None | ||
magnet = None | ||
version_plc = None | ||
version_hpmu = None | ||
|
||
done = Component(EpicsSignalRO, "BusyM.VAL", kind="omitted") | ||
done_value = 0 | ||
|
||
|
||
class Undulator4M(Undulator2M): | ||
"""APS 4M Undulator. | ||
.. index:: | ||
Ophyd Device; PlanarUndulator | ||
Ophyd Device; Undulator4M | ||
APS Use: 11ID, downstream & upstream. | ||
EXAMPLE:: | ||
undulator = Undulator4M("S11ID:DSID:", name="undulator") | ||
""" | ||
|
||
# ----------------------------------------------------------------------------- | ||
# :author: Pete R. Jemian | ||
# :email: [email protected] | ||
|
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