-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefaults.py
66 lines (54 loc) · 1.34 KB
/
defaults.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
default_axes = 'tczyx'
unit_map = {
't': 'Frame',
'c': 'Channel',
'z': 'Slice',
'y': 'Pixel',
'x': 'Pixel'
}
scale_factor_map = {
't': 1,
'c': 1,
'z': 1,
'y': 2,
'x': 2
}
scale_map = {
't': 1,
'c': 1,
'z': 1,
'y': 1,
'x': 1
}
type_map = {
't': 'time',
'c': 'channel',
'z': 'space',
'y': 'space',
'x': 'space'
}
datasets_archetype = {
'0': {
'array': None,
'axis_order': None,
'scale': None,
'unit_list': None,
'chunks': None,
'dtype': None
},
'1': {
'array': None,
'axis_order': None,
'scale': None,
'unit_list': None,
'chunks': None,
'dtype': None
}
}
NotMultiscalesException = Exception('Not applicable as this group is not a single image or label.')
NotImageException = Exception('Not applicable as this group is not an image.')
AxisNotFoundException = Exception('Axis information not provided in the metadata.')
TempDir = '/tmp/OME-Zarr'
refpath = '0'
rechunker_maxmem = '1G'
array_meta_keys = ['chunks', 'shape', 'compressor', 'dtype', 'dimension_separator']