ModelArrayIO
Installation
Walkthroughs
Usage
Outputs
API
modelarrayio
: ModelArrayIO functions
modelarrayio.cli
modelarrayio.storage
modelarrayio.storage.h5_storage
modelarrayio.storage.tiledb_storage
modelarrayio.storage.utils
modelarrayio.utils
ModelArrayIO
API
modelarrayio.storage
modelarrayio.storage.utils
modelarrayio.storage.utils.compute_full_subject_chunk_shape
View page source
modelarrayio.storage.utils.compute_full_subject_chunk_shape
modelarrayio.storage.utils.
compute_full_subject_chunk_shape
(
n_files
:
int
,
n_elements
:
int
,
item_chunk
:
int
,
target_chunk_mb
:
float
,
storage_np_dtype
:
str
|
dtype
|
type
[
floating
]
)
→
tuple
[
int
,
int
]
[source]
Compute a 2-D chunk/tile shape that spans all subjects.