Skip to content
Snippets Groups Projects
Commit 8e8dd2ef authored by s214735's avatar s214735
Browse files

fix

parent c82fb8ce
No related branches found
No related tags found
1 merge request!144Docstrings
...@@ -797,8 +797,13 @@ def load( ...@@ -797,8 +797,13 @@ def load(
force_load (bool, optional): If the file size exceeds available memory, a MemoryError is raised. force_load (bool, optional): If the file size exceeds available memory, a MemoryError is raised.
If force_load is True, the error is changed to warning and the loader tries to load it anyway. Default is False. If force_load is True, the error is changed to warning and the loader tries to load it anyway. Default is False.
dim_order (tuple, optional): The order of the dimensions in the volume for .vol files. Default is (2,1,0) which corresponds to (z,y,x) dim_order (tuple, optional): The order of the dimensions in the volume for .vol files. Default is (2,1,0) which corresponds to (z,y,x)
**kwargs: Additional keyword arguments to be passed **kwargs: Additional keyword arguments supported by `DataLoader`:
to the DataLoader constructor. - `virtual_stack` (bool)
- `dataset_name` (str)
- `return_metadata` (bool)
- `contains` (str)
- `force_load` (bool)
- `dim_order` (tuple)
Returns: Returns:
vol (numpy.ndarray, numpy.memmap, h5py._hl.dataset.Dataset, nibabel.arrayproxy.ArrayProxy or tuple): The loaded volume vol (numpy.ndarray, numpy.memmap, h5py._hl.dataset.Dataset, nibabel.arrayproxy.ArrayProxy or tuple): The loaded volume
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment