pysrw.lib.srwlib.srwl_wfr_fn

Contents

pysrw.lib.srwlib.srwl_wfr_fn#

pysrw.lib.srwlib.srwl_wfr_fn(_fn_core, _type, _form='ascii')[source]#

Generate standard filenames for radiation characteristics from a given core name :param _fn_core: core filename :param _type: type of radiation characteristic:

0- Electric Field 1- Spectral Intensity, i.e. Spectral Flux per Unit Surface Area 2- Spectral Angular Intensity, i.e. Spectral Flux per Unit Solid Angle 3- Mutual Intensity (in real space, i.e. dependent on coordinates) 31- Mutual Intensity Cut vs X 32- Mutual Intensity Cut vs Y 4- Degree of Coherence 41- Degree of Coherence Cut vs X 42- Degree of Coherence Cut vs Y 5- Wigner Distribution / Brightness 51- Wigner Distribution / Brightness Cut vs X 52- Wigner Distribution / Brightness Cut vs Y 7- Coherent Modes

Parameters:

_form – format of data file (‘ascii’ and ‘hdf5’ or ‘h5’ are supported)