-
Notifications
You must be signed in to change notification settings - Fork 4
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 #844 from lnls-sirius/add-hlfofb
Add HL FOFB IOC and devices
- Loading branch information
Showing
14 changed files
with
2,475 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.52.0 | ||
2.53.0 |
34 changes: 34 additions & 0 deletions
34
siriuspy/siriuspy/clientconfigdb/types/si_fastorbcorr_respm.py
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,34 @@ | ||
"""SI fast orbit correction response matrix configuration. | ||
Values in _template_dict are arbitrary. They are used just to compare with | ||
corresponding values when a new configuration is tried to be inserted in the | ||
servconf database. | ||
""" | ||
from copy import deepcopy as _dcopy | ||
|
||
|
||
def get_dict(): | ||
"""Return configuration type dictionary.""" | ||
module_name = __name__.split('.')[-1] | ||
_dict = { | ||
'config_type_name': module_name, | ||
'value': _dcopy(_template), | ||
'check': False, | ||
} | ||
return _dict | ||
|
||
|
||
# Fast Orbit Correction Response Matrix for Sirius: | ||
# -First bpm in the list is the first seen by the beam during injection | ||
# -First ch in the list is the first seen by the beam during injection | ||
# -First cv in the list is the first seen by the beam during injection | ||
# -RF is the last component; | ||
# -Units: bpm --> um; (ch, cv) --> urad; RF --> Hz | ||
# | ||
# | BPMXi | | Mik ... Mil ... Min | | CHk | | ||
# | ... | = | ... ... ... ... ... | * | ... | | ||
# | BPMYj | | Mjk ... Mjl ... Mjn | | CVl | | ||
# | ... | | ||
# | RFn | | ||
|
||
_template = 320*[161*[0.0]] |
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
Oops, something went wrong.