File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ def file_reader(
67
67
celeritas: bool
68
68
If the data came from the celeritas camera. Important for loading
69
69
data saved with a prebuffer and split between top and bottom frames.
70
+ chunks: int, tuple, dict or str, optional
71
+ The new block dimensions to create. -1 indicates the full size of the
72
+ corresponding dimension. Default is “auto” which automatically determines chunk sizes.
70
73
distributed: bool
71
74
If the data should be loaded in a way that is supported by the
72
75
distributed backend. Slightly slower for smaller datasets but could
@@ -322,6 +325,14 @@ def read_data(
322
325
navigation_shape: None or tuple
323
326
Reads the data and then coerces it into the navigation shape
324
327
given
328
+ chunks: int, tuple, dict or str, optional
329
+ The new block dimensions to create. -1 indicates the full size of the
330
+ corresponding dimension. Default is “auto” which automatically determines chunk sizes.
331
+ distributed: bool
332
+ If the data should be loaded in a distributed compatible way. In many cases this is
333
+ preferred if you have a specific target chunking style.
334
+ lazy: bool
335
+ Whether to open the file lazily or not
325
336
"""
326
337
header = self ._read_file_header ()
327
338
dark_img , gain_img = self ._read_dark_gain ()
You can’t perform that action at this time.
0 commit comments