Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
beamlinetools_1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
HZB
Bluesky
beamlines_endstations
MySpot
source
beamlinetools_1
Commits
7d5dfcbf
Commit
7d5dfcbf
authored
1 year ago
by
(INACTIVE) Marcel Bajdel (new marcel.bajdel)
Browse files
Options
Downloads
Patches
Plain Diff
Remove commented out code and unused imports
parent
26bc1bff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beamlinetools/BEAMLINE_CONFIG/beamline.py
+0
-67
0 additions, 67 deletions
beamlinetools/BEAMLINE_CONFIG/beamline.py
with
0 additions
and
67 deletions
beamlinetools/BEAMLINE_CONFIG/beamline.py
+
0
−
67
View file @
7d5dfcbf
...
...
@@ -29,67 +29,6 @@ from beamlinetools.devices.accelerator import DetailedAccelerator, TopUpMonitori
from
beamlinetools.devices.mca_old
import
xMap
# Ring
# print("Loading Accelerator")
# accelerator = DetailedAccelerator("", name="accelerator")
# next_injection = TopUpMonitoring("", name="next_injection")
# accelerator.wait_for_connection()
# next_injection.wait_for_connection()
# Keithleys
# print('Connecting to Amperometers')
# ks = 'K64851MF102L:'
# kth00 = keithley6485(ks + '12', name='myspot_keithley0', read_attrs=['readback'], labels={'detectors'})
# kth00.wait_for_connection()
# kth01 = keithley6485(ks + '14', name='myspot_keithley1', read_attrs=['readback'], labels={'detectors'})
# kth01.wait_for_connection()
# motors
# print('Connecting to motors')
# hgx = EpicsMotor("DCM1OS2L:l0204007", name='hgx')
# hgx.wait_for_connection()
# mz = EpicsMotor("DCM1OS2L:l0206004", name='mz')
# mz.wait_for_connection()
# Monochromator
# print('Connecting to DCM')
# dcm = DCMmySpot("DCM1OS2L:", name='dcm')
# dcm.wait_for_connection()
# dcm.p.set_mono_type()
# Apertures
# print('Connecting to Slit3')
# slit3 = AUmySpot("DCM1OS2L:", name='slit3')
# slit3.wait_for_connection()
# Pinhole
# Mirrors
# Detectorscurrent
# mca = MCA('dxpXMAP:', name='mca')
# print('Connecting to mca')
# mca_old = xMap('dxpXMAP:', name='mca_old', read_attrs=['mca1.spectrum', 'mca2.spectrum', 'mca1.rois.roi0'])
# mca_old.wait_for_connection()
# from beamlinetools.devices.mca import MyEpicsMCA
# mca= MyEpicsMCA('dxpXMAP:', name="mca")
# from beamlinetools.devices.mca import DivideByArgs
# div_det1 = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime], name="div_det1")
# div_det2 = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime, kth00.readback], name="div_det2")
# div_det2l = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime, kth00.readback], log=True, name="div_det2l")
# div_mca = DivideByArgs(derived_from=mca.ch1.roi0.count, divisors=[mca.ch1.lifetime, kth00.readback], log=True, name="div_det2l")
# from beamlinetools.devices.eiger import MyDetector
# prefix = 'EIG:'
# eiger = MyDetector(prefix, name="eiger")
### SECoP-Ophyd Device ###
from
.base
import
RE
...
...
@@ -113,9 +52,3 @@ reactor_c.class_from_instance()
reactor_c
:
Reactor_cell
=
reactor_c
gas_d
:
Gas_dosing
=
gas_d
from
beamlinetools.devices.MySpotBridge
import
MySpotBridge
ramp
=
MySpotBridge
(
"
MySpot:
"
,
name
=
"
ramp
"
)
ramp
.
wait_for_connection
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment