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_stepNumber of pixels in each row of the detector along the fast axis.
slow_steptotal_pixelscomponent_typenameid_startfast_axis_namenum_xnum_ystep_xstep_ystart_xstart_ypositionrotation_matrixslow_axis_namefast_axisslow_axis