ess.nmx.mcstas.xml.SourceDesc#
- class ess.nmx.mcstas.xml.SourceDesc(component_type, name, position)[source]#
Source description extracted from McStas instrument xml description.
- __init__(component_type, name, position)#
Methods
__init__
(component_type, name, position)from_xml
(*, tree, simulation_settings)Create source description from xml component.
Attributes
component_type
name
position