From 8e8dd2efd362a920581a7d9efcccb96e3f5d9fc3 Mon Sep 17 00:00:00 2001 From: s214735 <s214735@dtu.dk> Date: Mon, 30 Dec 2024 09:34:35 +0100 Subject: [PATCH] fix --- qim3d/io/_loading.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/qim3d/io/_loading.py b/qim3d/io/_loading.py index 1f854485..19641df3 100644 --- a/qim3d/io/_loading.py +++ b/qim3d/io/_loading.py @@ -797,8 +797,13 @@ def load( 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. 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 - to the DataLoader constructor. + **kwargs: Additional keyword arguments supported by `DataLoader`: + - `virtual_stack` (bool) + - `dataset_name` (str) + - `return_metadata` (bool) + - `contains` (str) + - `force_load` (bool) + - `dim_order` (tuple) Returns: vol (numpy.ndarray, numpy.memmap, h5py._hl.dataset.Dataset, nibabel.arrayproxy.ArrayProxy or tuple): The loaded volume -- GitLab