pysrw.lib.srwlib.srwl_uti_read_wfr_cm_hdf5

pysrw.lib.srwlib.srwl_uti_read_wfr_cm_hdf5#

pysrw.lib.srwlib.srwl_uti_read_wfr_cm_hdf5(_file_path, _gen0s=True)[source]#

Reads-in Wavefront data file (with a number of wavefronts, calculated in the same mesh vs x nad y) :param _file_path: string specifying path do data file to be loaded :param _gen0s: switch defining whether zero-electric field array(s) need to be created if some polarization component(s) are missing in the file :return: list of wavefronts (objects of SRWLWfr type)