splinepy.io.npz#

npz io.

keys in raw files are:
  • control_points : (ncpts, dim) np.ndarray, float64

  • degrees : (para_dim,) np.ndarray, int32

  • knot_vectors : (1,) np.ndarray, str

  • whatami : (1,) np.ndarray, str

Functions

export(fname, list_of_splines)

Save a list of splines as .npz.

load(fname)

Read a list of splines in .npz form.