pysdic.IntegrationPoints.to_npz_file#

IntegrationPoints.to_npz_file(file_path, *, make_dirs=False, **kwargs)#

Serialize the object to an NPZ file.

Note

The file is written at exactly file_path: no .npz extension is appended (unlike numpy.savez called with a path).

Parameters:
  • file_path (Any) – The path to the file where the NPZ representation of the class will be saved (str, Path, …).

  • make_dirs (bool, optional (default: False)) – If True, the method will create any missing directories in the file path before writing the NPZ.

Return type:

None