MSUtils.general.h52xdmf.write_xdmf#

MSUtils.general.h52xdmf.write_xdmf(h5_filepath, xdmf_filepath=None, microstructure_length=[1, 1, 1], time_series=False, time_keyword='time_step', verbose=False)#

Function to convert HDF5 files to XDMF format for visualization. :param h5_filepath: The path to the input HDF5 file. :type h5_filepath: str :param xdmf_filepath: The path to the output XDMF file. If None, the name of the HDF5 file is used. :type xdmf_filepath: str :param microstructure_length: The total length of the cube in each dimension. :type microstructure_length: list :param time_series: Whether to treat the data as a time series. :type time_series: bool :param time_keyword: Keyword used to identify temporal datasets. :type time_keyword: str :param verbose: Whether to enable verbose output. :type verbose: bool