Skip to content

Commit

Permalink
Merge pull request #86 from T-Nicholls/latticeDevices
Browse files Browse the repository at this point in the history
Add ability to have fields to the lattice
  • Loading branch information
willrogers committed Sep 11, 2018
2 parents 71329dd + 605b972 commit 77eddb5
Show file tree
Hide file tree
Showing 22 changed files with 8,076 additions and 7,967 deletions.
3 changes: 2 additions & 1 deletion pytac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
"""Error 402 is suppressed as we cannot import these modules at the top of the
file as the strings above must be set first or the imports will fail.
"""
__all__ = ["data_source", "element", "epics", "exceptions", "lattice", "load_csv", "units", "utils"]
__all__ = ["data_source", "element", "epics", "exceptions", "lattice",
"load_csv", "units", "utils"]
6 changes: 5 additions & 1 deletion pytac/data/DIAD/devices.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
id,name,field,get_pv,set_pv
0,SR-DI-DCCT-01,beam_current,SR-DI-DCCT-01:SIGNAL,
0,SR-DI-EMIT-01,emittance_x,SR-DI-EMIT-01:HEMIT,
0,SR-DI-EMIT-01,emittance_y,SR-DI-EMIT-01:VEMIT,
0,SR23C-DI-TMBF-01,tune_x,SR23C-DI-TMBF-01:X:TUNE:TUNE,
0,SR23C-DI-TMBF-01,tune_y,SR23C-DI-TMBF-01:Y:TUNE:TUNE,
3,SR01C-DI-EBPM-01,x,SR01C-DI-EBPM-01:SA:X,
3,SR01C-DI-EBPM-01,y,SR01C-DI-EBPM-01:SA:Y,
3,SR01C-DI-EBPM-01,enabled,SR01C-DI-EBPM-01:CF:ENABLED_S,
Expand Down Expand Up @@ -2813,4 +2818,3 @@ id,name,field,get_pv,set_pv
189,SR02A-PC-DTRIM-04,db0,SR02A-PC-DTRIM-04:I,SR02A-PC-DTRIM-04:SETI
136,SR02A-PC-DTRIM-02,db0,SR02A-PC-DTRIM-02:I,SR02A-PC-DTRIM-02:SETI
164,SR02A-PC-DTRIM-03,db0,SR02A-PC-DTRIM-03:I,SR02A-PC-DTRIM-03:SETI
2145,SR-DI-DCCT-01,I,SR-DI-DCCT-01:SIGNAL,
1 change: 0 additions & 1 deletion pytac/data/DIAD/elements.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2143,4 +2143,3 @@ id,name,type,length,cell
2142,2142,DRIFT,1.288300,
2143,2143,BPM,0.000000,24
2144,2144,DRIFT,4.380000,
2145,2145,DCCT,0.000000,
1 change: 0 additions & 1 deletion pytac/data/DIAD/families.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2573,4 +2573,3 @@ id,family
2142,KD1
2143,BPM
2144,D1D2
2145,DCCT
6 changes: 5 additions & 1 deletion pytac/data/VMX/devices.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
id,name,field,get_pv,set_pv
0,SR-DI-DCCT-01,beam_current,SR-DI-DCCT-01:SIGNAL,
0,SR-DI-EMIT-01,emittance_x,SR-DI-EMIT-01:HEMIT,
0,SR-DI-EMIT-01,emittance_y,SR-DI-EMIT-01:VEMIT,
0,SR23C-DI-TMBF-01,tune_x,SR23C-DI-TMBF-01:X:TUNE:TUNE,
0,SR23C-DI-TMBF-01,tune_y,SR23C-DI-TMBF-01:Y:TUNE:TUNE,
3,SR01C-DI-EBPM-01,x,SR01C-DI-EBPM-01:SA:X,
3,SR01C-DI-EBPM-01,y,SR01C-DI-EBPM-01:SA:Y,
3,SR01C-DI-EBPM-01,enabled,SR01C-DI-EBPM-01:CF:ENABLED_S,
Expand Down Expand Up @@ -2820,4 +2825,3 @@ id,name,field,get_pv,set_pv
189,SR02A-PC-DTRIM-04,db0,SR02A-PC-DTRIM-04:I,SR02A-PC-DTRIM-04:SETI
136,SR02A-PC-DTRIM-02,db0,SR02A-PC-DTRIM-02:I,SR02A-PC-DTRIM-02:SETI
164,SR02A-PC-DTRIM-03,db0,SR02A-PC-DTRIM-03:I,SR02A-PC-DTRIM-03:SETI
2143,SR-DI-DCCT-01,I,SR-DI-DCCT-01:SIGNAL,
1 change: 0 additions & 1 deletion pytac/data/VMX/elements.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2141,4 +2141,3 @@ id,name,type,length,cell
2140,2140,DRIFT,1.288300,
2141,2141,BPM,0.000000,24
2142,2142,DRIFT,4.380000,
2143,2143,DCCT,0.000000,
1 change: 0 additions & 1 deletion pytac/data/VMX/families.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2573,4 +2573,3 @@ id,family
2140,KD1
2141,BPM
2142,D1D2
2143,DCCT
5,310 changes: 2,657 additions & 2,653 deletions pytac/data/VMXSP/devices.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 77eddb5

Please sign in to comment.