sdynpy.core.sdynpy_shape.from_imat_struct
- from_imat_struct(imat_shp_struct)
Constructs a ShapeArray from an imat_shp class saved to a Matlab structure
In IMAT, a structure can be created from an imat_shp by using the get() function. This can then be saved to a .mat file and loaded using scipy.io.loadmat. The output from loadmat can be passed into this function
- Parameters
imat_fem_struct (np.ndarray) – structure from loadmat containing data from an imat_shp
- Returns
ShapeArray constructed from the data in the imat structure
- Return type