pysrw.lib.srwlib.SRWLOpt#
- class pysrw.lib.srwlib.SRWLOpt[source]#
Bases:
object
Optical Element (base class)
- __init__()#
Methods
__init__
()get_orient
([_e])Randomizes parameters of optical element according to self.RandParam to simulate e.g. impact of vibrations on coherence (in P-C calculations).
set_rand_par
(_rand_par)Sets list of params to be eventually randomized in some types of calculations :param _rand_par: list of params to be randomized; each element of this list should be: ['param_name', val_avg, val_range, meth]