sdynpy.core.sdynpy_data.load
- load(filename)
Load in the specified file into a SDynPy array object
- Parameters
filename (str) – Filename specifying the file to load. If the filename has extension .unv or .uff, it will be loaded as a universal file. Otherwise, it will be loaded as a NumPy file.
- Raises
AttributeError – Raised if a unv file is loaded from a class that does not have a from_unv attribute defined.
- Returns
SDynpy array of the appropriate type from the loaded file.
- Return type
cls