pysrw.propagation.parseToSRWelement

pysrw.propagation.parseToSRWelement#

pysrw.propagation.parseToSRWelement(optEl)[source]#

Get the SRW element and propagation parameter from the PySRW definition.

Parameters:

optEl – dictionary with the definition of a valid PySRW optical element.

Returns:

a list with the SRW element and the propagation parameters.

Return type:

list