ess.nmx.mcstas.xml.DetectorDesc#
- class ess.nmx.mcstas.xml.DetectorDesc(component_type, name, id_start, fast_axis_name, num_x, num_y, step_x, step_y, start_x, start_y, position, rotation_matrix, slow_axis_name, fast_axis, slow_axis)[source]#
Detector information extracted from McStas instrument xml description.
- __init__(component_type, name, id_start, fast_axis_name, num_x, num_y, step_x, step_y, start_x, start_y, position, rotation_matrix, slow_axis_name, fast_axis, slow_axis)#
Methods
__init__
(component_type, name, id_start, ...)from_xml
(*, component, type_desc, ...)Create detector description from xml component and type.
Attributes
Shape of the detector panel.
fast_step
Number of pixels in each row of the detector along the fast axis.
slow_step
total_pixels
component_type
name
id_start
fast_axis_name
num_x
num_y
step_x
step_y
start_x
start_y
position
rotation_matrix
slow_axis_name
fast_axis
slow_axis