-
foxes.utils.get_encoding(data, complevel=
5, pack=True)[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)
- pack: bool
Whether to pack data using scale_factor and add_offset
Returns¶
- encoding: dict
The encoding information of the numpy array.