-
Notifications
You must be signed in to change notification settings - Fork 26
YAML Instrument Section
Donald Boyce edited this page Jun 9, 2020
·
1 revision
Below is an example. There are several sections.
-
beam
: defines the beam properties-
energy
: in keV -
vector
: direction of beam in polar coordinates
-
-
calibration_crystal
: this section will moved out of the instrument into a calibration options section -
detectors
: defines multiple detectors for the HEDM instrument; user provides a list of sections indexed by panel ID, with these values:-
distortion
: definesfunction_name
andparameters
-
pixels
: definescolumns
,rows
andsize
(two values) saturation_level
-
transform
: a translation vector (t_vec_d
) and a list of tilt angles (tilt_angles
)
-
-
oscillation_stage
: defineschi
andt_vec_s
beam:
energy: 71.67600000000002
vector: {azimuth: 90.0, polar_angle: 90.0}
calibration_crystal:
grain_id: 2
inv_stretch: [1.0, 1.0, 1.0, 0.0, 0.0, 0.0]
orientation: [-0.7403906272941109, 0.710574864833095, 0.8784939924895795]
position: [-0.014942519693263894, 0.0, 0.019582532344328125]
detectors:
ge1:
distortion:
function_name: GE_41RT
parameters: [5.353926155912875e-05, 2.270999661157301e-05, -7.865698901477513e-05,
2.0, 2.0, 2.0]
pixels:
columns: 2048
rows: 2048
size: [0.2, 0.2]
saturation_level: 14000.0
transform:
t_vec_d: [94.30839458887752, -344.4748141402746, -2169.9094374553397]
tilt_angles: [0.00362714481953211, 0.0017619180224608504, 1.0919693392974965]
ge2:
distortion:
function_name: GE_41RT
parameters: [7.08685985587524e-05, -2.8472069892102994e-05, -0.0002548751769368914,
2.0, 2.0, 2.0]
pixels:
columns: 2048
rows: 2048
size: [0.2, 0.2]
saturation_level: 14000.0
transform:
t_vec_d: [-319.6056538521373, -102.38082888079857, -2168.331047900622]
tilt_angles: [0.0001404332891808406, 0.003134210645584101, -0.47592870957839417]
ge3:
distortion:
function_name: GE_41RT
parameters: [3.696928542301944e-05, 1.979010824679392e-05, -0.0001353508312242059,
2.0, 2.0, 2.0]
pixels:
columns: 2048
rows: 2048
size: [0.2, 0.2]
saturation_level: 14000.0
transform:
t_vec_d: [-62.88791680025385, 316.0389198154634, -2168.590055356885]
tilt_angles: [-0.0020197826885242085, -0.0006634771866548412, -2.055442130712313]
ge4:
distortion:
function_name: GE_41RT
parameters: [4.6144322452917785e-05, -5.846008403345092e-06, -0.00015488072649620158,
2.0, 2.0, 2.0]
pixels:
columns: 2048
rows: 2048
size: [0.2, 0.2]
saturation_level: 14000.0
transform:
t_vec_d: [335.818763007216, 56.61111482881222, -2169.7505472508396]
tilt_angles: [0.0007726696282996237, 0.00010840838410579498, 2.659707033723183]
oscillation_stage:
chi: -5.359694615270892e-05
t_vec_s: [0.0, 0.0, 0.0]