MarxsElement

class marxs.base.MarxsElement(**kwargs)[source] [edit on github]

Bases: object

Base class for all elements in a MARXS simulation.

This includes elements that actually change photon properties such as grating and mirrors, but also abstract concepts that do not have a direct hardware representation such as a “Rowland Torus”.

Define a new MARXS element.

Attributes Summary

display

Dictionary for display specifications, e.g. color.

Methods Summary

describe()

Attributes Documentation

display = {'shape': 'None'}

Dictionary for display specifications, e.g. color

Methods Documentation

describe()[source] [edit on github]