Network.from_npz

classmethod Network.from_npz(data, prefix: str = '', **kwargs) paminco.net.network.Network[source]

Construct object from .npz file.

Parameters
datastr or NpzFile

Filename as str or NpzFile.

prefixstr, default=””

Object data is stored with key = (prefix + internal_name).

Returns
obj

Object.

See also

numpy.lib.npyio.NpzFile