This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dodal_299-use-zebra-pulse-output-device
- Loading branch information
Showing
5 changed files
with
179 additions
and
2 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
140 changes: 140 additions & 0 deletions
140
tests/test_data/test_daq_configuration/domain/beamlineParameters
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,140 @@ | ||
# | ||
# | ||
BeamLine BL03S | ||
|
||
## Test data for device instantiation | ||
BLSE=FB | ||
|
||
## BPFB (Beam Position FeedBack) | ||
## HALF (default) only off during data collection | ||
## FULL only off for XBPM2 during attenuation optimisation, fluo when trans < 2% and wedged MAD | ||
## UNAVAILABLE (not default) prevents xbpm_feedback.py trying to access EPICS IOC that may not be running | ||
BPFB=FULL | ||
## Note: only beamline scientists control whether feedback is enabled | ||
## via the XBPM feedback EDM screen in Synoptic | ||
|
||
# DCM parameters | ||
DCM_Perp_Offset_FIXED = 25.6 | ||
# | ||
# beamstop | ||
# | ||
parked_x = 4.49 | ||
parked_y = -50.0 | ||
parked_y_plate = -50.5 | ||
parked_z = -49.5 | ||
parked_z_robot = 30.0 | ||
|
||
in_beam_z_MIN_START_POS = 60.0 | ||
|
||
|
||
#Aperture - Scatterguard positions | ||
# 100 micron ap | ||
miniap_x_LARGE_APERTURE = 2.389 | ||
miniap_y_LARGE_APERTURE = 40.986 | ||
miniap_z_LARGE_APERTURE = 15.8 | ||
|
||
sg_x_LARGE_APERTURE = 5.25 | ||
sg_y_LARGE_APERTURE = 4.43 | ||
|
||
# 50 micron ap | ||
miniap_x_MEDIUM_APERTURE = 2.384 | ||
miniap_y_MEDIUM_APERTURE = 44.967 | ||
miniap_z_MEDIUM_APERTURE = 15.8 | ||
sg_x_MEDIUM_APERTURE = 5.285 | ||
sg_y_MEDIUM_APERTURE = 0.46 | ||
|
||
# 20 micron ap | ||
miniap_x_SMALL_APERTURE = 2.430 | ||
miniap_y_SMALL_APERTURE = 48.974 | ||
miniap_z_SMALL_APERTURE = 15.8 | ||
sg_x_SMALL_APERTURE = 5.3375 | ||
sg_y_SMALL_APERTURE = -3.55 | ||
|
||
# Robot load | ||
miniap_x_ROBOT_LOAD = 2.386 | ||
miniap_y_ROBOT_LOAD = 31.40 | ||
miniap_z_ROBOT_LOAD = 15.8 | ||
sg_x_ROBOT_LOAD = 5.25 | ||
sg_y_ROBOT_LOAD = 4.43 | ||
|
||
# manual mount | ||
miniap_x_MANUAL_LOAD = -4.91 | ||
miniap_y_MANUAL_LOAD = -49.0 | ||
miniap_z_MANUAL_LOAD = -10.0 | ||
|
||
sg_x_MANUAL_LOAD = -4.7 | ||
sg_y_MANUAL_LOAD = 1.8 | ||
|
||
miniap_x_SCIN_MOVE = -4.91 | ||
# prion setting | ||
#miniap_x_SCIN_MOVE = 0.0 | ||
sg_x_SCIN_MOVE = -4.75 | ||
|
||
scin_y_SCIN_IN = 100.855 | ||
scin_y_SCIN_OUT = -0.02 | ||
scin_z_SCIN_IN = 101.5115 | ||
|
||
|
||
scin_z_SCIN_OUT = 0.1 | ||
|
||
#distance to move gonx,y,z when scintillator is put in with standard pins | ||
# For old gonio: | ||
gon_x_SCIN_OUT_DISTANCE = 1.0 | ||
# For SmarGon: | ||
gon_x_SCIN_OUT_DISTANCE_smargon = 1 | ||
|
||
gon_y_SCIN_OUT_DISTANCE = 2.0 | ||
gon_z_SCIN_OUT_DISTANCE = -0.5 | ||
|
||
# StandardEnergy on i03 is 12700eV | ||
StandardEnergy = 12700 | ||
|
||
keyence_max_attempts = 1 | ||
# Move gonio 100 microns, see difference in keyence values | ||
# Then do 100/difference, put that number below | ||
# Sign may change between Smargon and MiniKappa | ||
keyence_slopeYToX = 2.5 | ||
keyence_slopeYToY = -2.5 | ||
keyence_slopeXToZ = 3.23 | ||
|
||
YAGSamX = 1022 | ||
YAGSamY = -98.0 | ||
YAGSamZ = -147 | ||
YAGOmega = 0.0 | ||
|
||
#ipin value must be < ipin_threshold above background for data collection | ||
ipin_threshold = 0.1 | ||
|
||
# energy thresholds for mirror stripes | ||
# - first threshold is between bare/Rh stripes (e.g. 7000) | ||
# - second threshold is between Rh/Pt stripes (e.g. 18000) | ||
mirror_threshold_bare_rh = 6900 | ||
mirror_threshold_rh_pt = 30000 | ||
|
||
# flux conversion factors | ||
flux_factor_no_aperture = 1 | ||
flux_factor_LARGE_APERTURE = 0.738 | ||
flux_factor_MEDIUM_APERTURE = 0.36 | ||
flux_factor_SMALL_APERTURE = 0.084 | ||
flux_factor_no_aperture_plate = 1 | ||
flux_factor_LARGE_APERTURE_plate = 0.738 | ||
flux_factor_MEDIUM_APERTURE_plate = 0.36 | ||
flux_factor_SMALL_APERTURE_plate = 0.084 | ||
|
||
#Deadtime settings | ||
fluorescence_analyser_deadtimeThreshold=0.002 # used by edge scans | ||
fluorescence_spectrum_deadtimeThreshold=0.0005 # used by spectrum | ||
|
||
#Other settings | ||
fluorescence_attenuation_low_roi = 100 | ||
fluorescence_attenuation_high_roi = 2048 | ||
attenuation_optimisation_optimisation_cycles = 10 | ||
attenuation_optimisation_start_transmission = 0.1 # per cent | ||
fluorescence_mca_sca_offset = 400 | ||
|
||
#Total count settings | ||
attenuation_optimisation_multiplier = 2 | ||
attenuation_optimisation_target_count = 2000 | ||
attenuation_optimisation_upper_limit = 50000 | ||
attenuation_optimisation_lower_limit = 20000 | ||
|
25 changes: 25 additions & 0 deletions
25
tests/test_data/test_daq_configuration/lookup/BeamLineEnergy_DCM_Pitch_converter.txt
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,25 @@ | ||
# Bragg pitch | ||
# Degree values for pitch are interpreted as mrad | ||
# The values cannot change direction. | ||
# last update 2023/06/26 NP | ||
Units Deg mrad | ||
Units Deg Deg | ||
19.24347 -0.79775 | ||
16.40949 -0.78679 | ||
14.31123 -0.77838 | ||
12.69287 -0.77276 | ||
11.40555 -0.77276 | ||
10.35662 -0.77031 | ||
9.48522 -0.76693 | ||
8.95826 -0.76387 | ||
8.74953 -0.76387 | ||
8.12020 -0.76387 | ||
7.57556 -0.76354 | ||
7.09950 -0.76166 | ||
6.67997 -0.76044 | ||
6.30732 -0.75953 | ||
5.97411 -0.75845 | ||
5.67434 -0.75796 | ||
5.40329 -0.75789 | ||
5.15700 -0.75551 | ||
4.93218 -0.75513 |
7 changes: 7 additions & 0 deletions
7
tests/test_data/test_daq_configuration/lookup/BeamLineEnergy_DCM_Roll_converter.txt
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,7 @@ | ||
#Bragg angle against roll( absolute number) | ||
#reloadLookupTables() | ||
# last update 2023/01/19 NP | ||
Units Deg mrad | ||
26.4095 -0.2799 | ||
6.3075 -0.2799 | ||
|
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