mcstasscript.instrument_diagram.make_diagram.instrument_diagram
mcstasscript.instrument_diagram.make_diagram.instrument_diagram¶
- mcstasscript.instrument_diagram.make_diagram.instrument_diagram(instrument, analysis=False, variable=None, limits=None)¶
Plots diagram of components in instrument with RELATIVE connections
All components in the instrument are shown as text fields and arrows are drawn showing the AT RELATIVE and ROTATED RELATIVE connections between components. When more advanced features are used, these are displayed with arrows on the right side of the diagram, currently JUMP, GROUP and use of Union components are visualized.
- Parameters
instrument (McCode_instr) – Instrument object from which the component list is taken