@@ -78,20 +78,18 @@ def __init__(self, file_like, spec, mmap=True):
7878 File-like object or filename. If file-like object, should implement
7979 at least ``read`` and ``seek``.
8080 spec : object or tuple
81- Tuple must have length 2-5, with the following values.
82- - shape : tuple
83- tuple of ints describing shape of data
84- - storage_dtype : dtype specifier
85- dtype of array inside proxied file, or input to ``numpy.dtype``
86- to specify array dtype
87- - offset : int
88- Offset, in bytes, of data array from start of file
89- (default: 0)
90- - slope : float
91- Scaling factor for resulting data (default: 1.0)
92- - inter : float
93- Intercept for rescaled data (default: 0.0)
81+ Tuple must have length 2-5, with the following values:
82+
83+ #. shape: tuple - tuple of ints describing shape of data;
84+ #. storage_dtype: dtype specifier - dtype of array inside proxied
85+ file, or input to ``numpy.dtype`` to specify array dtype;
86+ #. offset: int - offset, in bytes, of data array from start of file
87+ (default: 0);
88+ #. slope: float - scaling factor for resulting data (default: 1.0);
89+ #. inter: float - intercept for rescaled data (default: 0.0).
90+
9491 OR
92+
9593 Header object implementing ``get_data_shape``, ``get_data_dtype``,
9694 ``get_data_offset``, ``get_slope_inter``
9795 mmap : {True, False, 'c', 'r'}, optional, keyword only
0 commit comments