Defined as:
sdynpy.fileio.sdynpy_dataphysics.read_dataphysics_outputModule:
sdynpy.fileio.sdynpy_dataphysicsSource: GitHub
Signature¶
def sdynpy.fileio.read_dataphysics_output(file: os.PathLike | h5py._hl.files.File | dict, coordinate: sdynpy.core.sdynpy_coordinate.CoordinateArray | None = None)Reads a Data Physics .mat or .uff file and converts it into a SDYNPY timehistory array object.
Parameters¶
file : os.PathLike | h5py.File | dict Path to a .mat file (can be legacy .mat or v7.3) or a .uff file Alternatively, can be an
h5py.Fileobject or adictcreated usingscipy.io.loadmatcoordinate : CoordinateArray, optional sdynpy coordinate array. If not provided, will attempt to determine coordinate nodes/directions using
ChanNamefrom the .mat file orcomment4from the .uff/.unv file.
Returns¶
TimeHistoryArray
Time history array object.