varyorderselector¶
- marxs.design.tolerancing.varyorderselector(element, order_selector, *args, **kwargs)[source] [edit on github]¶
Modify the OrderSelector for a grating
- Parameters:
- element :`marxs.optics.FlatGrating` or similar (or list of those elements)
Elements where the OrderSelector will be changed
- order_selectorclass
This should be a subclass of
InterpolateRalfTable
which determines how the order will be selected. In the case of the default class, the blaze angle of an incoming photons will be modified randomly to represent small-scale deviations from the flatness of the gratings.- args, kwargs
All other parameters are used to initialize the OrderSelector