We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3160b commit 6464abdCopy full SHA for 6464abd
development/prepare_czi_zebrafish_data.py
@@ -0,0 +1,25 @@
1
+def get_czi_zebrafish_data():
2
+ # NOTE: Let's try for one link first, we can generalize it later.
3
+ url = "https://public.czbiohub.org/royerlab/ultrack/zebrafish_embryo.ome.zarr"
4
+
5
+ from ome_zarr.reader import Reader
6
+ from ome_zarr.io import parse_url
7
8
+ reader = Reader(parse_url(url)) # Prepare a reader.
9
+ nodes = list(reader()) # Might include multiple stuff
10
+ image_node = nodes[0] # First node is expecte to be image pixel data.
11
12
+ dask_data = image_node.data # Get the daskified data.
13
14
+ # HACK: Try it for one dask array with lowest resolution.
15
+ curr_data = dask_data[-1]
16
17
+ breakpoint()
18
19
20
+def main():
21
+ get_czi_zebrafish_data()
22
23
24
+if __name__ == "__main__":
25
+ main()
0 commit comments