ess.nmx.mcstas.xml.SimulationSettings#

class ess.nmx.mcstas.xml.SimulationSettings(length_unit, angle_unit, beam_axis, handedness)[source]#

Simulation settings extracted from McStas instrument xml description.

__init__(length_unit, angle_unit, beam_axis, handedness)#

Methods

__init__(length_unit, angle_unit, beam_axis, ...)

from_xml(tree)

Create simulation settings from xml.

Attributes

length_unit

angle_unit

beam_axis

handedness

classmethod from_xml(tree)[source]#

Create simulation settings from xml.

Return type:

SimulationSettings