-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.template
More file actions
133 lines (114 loc) · 2.98 KB
/
Copy pathconfig.yaml.template
File metadata and controls
133 lines (114 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Database configuration
db_file: Laue_Records.db
# Default variables for processing
DEFAULT_VARIABLES:
author: ""
notes: ""
root_path: /net/s34data/export/s34data1/LauePortal/portal_workspace/
num_threads: 35
memory_limit_mb: 50000
verbose: 1
# Valid HDF file extensions for data files
VALID_HDF_EXTENSIONS:
- .hdf
- .h5
- .hdf5
- .he5
# Server-side scan log browser
SCAN_LOG_BROWSER:
default_path: ""
max_file_size_mb: 100
# Redis server configuration
REDIS_CONFIG:
host: localhost
port: 6379
# Dash application configuration
DASH_CONFIG:
host: localhost
port: 2082
debug: true
# Peak indexing default parameters
PEAKINDEX_DEFAULTS:
# File/scan parameters (typically overridden per job)
scanPoints: "" # Empty string - user must provide
depthRange: "" # Empty string - optional
# Processing parameters
threshold: null # Auto-detect if empty
thresholdRatio: null # Auto-detect if empty
maxRfactor: 0.5
boxsize: 18
max_number: 300
min_separation: 20
peakShape: "Lorentzian"
min_size: 3
max_peaks: 200
smooth: false
cosmicFilter: true
# Indexing parameters
indexKeVmaxCalc: 17.2
indexKeVmaxTest: 35.0
indexAngleTolerance: 0.1
indexH: 0
indexK: 0
indexL: 1
indexCone: 72.0
# Detector crop (full detector)
detectorCropX1: 0
detectorCropX2: 2047
detectorCropY1: 0
detectorCropY2: 2047
# Units
energyUnit: "keV"
exposureUnit: "sec"
recipLatticeUnit: "1/nm"
latticeParametersUnit: "nm"
# File paths (relative to root_path)
outputFolder: "analysis/scan_%d/index_%d"
outputXML: "output.xml"
geoFile: "tests/data/geo/geoN_2022-03-29_14-15-05.xml"
crystFile: "tests/data/crystal/Al.xtal"
maskFile: "None"
# Other
beamline: "34ID-E"
depth: .nan # YAML nan value
# Wire reconstruction default parameters
WIRERECON_DEFAULTS:
# Recon constraints
geoFile: "Run1/geofiles/geoN_2023-04-06_03-07-11_cor6.xml"
percent_brightest: 100
wire_edges: "leading"
# Depth parameters
depth_start: -50
depth_end: 150
depth_resolution: 1
# Output
outputFolder: "analysis/scan_%d/rec_%d/data"
# Motor groups configuration
MOTOR_GROUPS:
sample:
- 34ide:mxv:c0:m1 # Sample X
- 34ide:mxv:c0:m3 # Sample Y
- 34ide:mxv:c0:m2 # Sample Z
- 34ide:focusTHK:F # Sample F
- 34ide:focusTHK:H # Sample H
energy:
- 34ide:monoE:keV
depth: # wire or coded aperture
- 34ide:t80:c0:m1 # WireBase X
- 34ide:t80:c0:m3 # WireBase Y
- 34ide:t80:c0:m2 # WireBase Z
- 34ide:focusAlio:F # WireBase F
- 34ide:focusAlio:H # WireBase H
- 34ide:mxv:c0:m4 # WireScan_H
# - 34ide:aero:c0:m1 # Wire stage <2015
other:
- 34ide:m58:c0:m6
- 34ide:m58:c0:m8
- 34ide:m58:c1:m1
- 34ide:m58:c1:m2 # L_slit_vert
- 34ide:m58:c1:m3 # L_slit_horiz
- 34ide:m58:c1:m5
- 34ide:m58:c1:m7
- 34ide:540:c0:out2
- 34ide:540:c0:out3
- 34ide:float6