foxes.utils.get_encoding(data, complevel=5)[source]

Get the encoding parameters for a numpy array.

Parameters

data: np.ndarray

The numpy array for which to get the encoding information.

complevel: int

The compression level (1-9)

Returns

encoding: dict

The encoding information of the numpy array.