You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[micr_SEM](https://github.com/bids-standard/bids-examples/tree/master/micr_SEM)| Example SEM dataset in PNG format with 1 sample imaged over 2 sessions | micr | SEM, photo, samples, sessions |[link](https://doi.org/10.5281/zenodo.5498378)|[@jcohenadad](https://github.com/jcohenadad)|
195
-
|[micr_SEMzarr](https://github.com/bids-standard/bids-examples/tree/master/micr_SEMzarr)| Example SEM dataset in PNG and OME-ZARR format with 1 sample imaged over 2 sessions | micr | SEM, SPIM, samples, sessions | n/a |[@TheChymera](https://github.com/TheChymera)|
196
-
|[micr_SPIM](https://github.com/bids-standard/bids-examples/tree/master/micr_SPIM)| Example SPIM dataset in OME-TIFF format with 2 samples from the same subject with 4 chunks each | micr | SPIM, photo, samples |[link](https://doi.org/10.5281/zenodo.5517223)|[@jcohenadad](https://github.com/jcohenadad)|
191
+
| name | description | datatypes | suffixes | link to full data | maintained by |
|[micr_SEM](https://github.com/bids-standard/bids-examples/tree/master/micr_SEM)| Example SEM dataset in PNG format with 1 sample imaged over 2 sessions | micr | SEM, photo, samples, sessions |[link](https://doi.org/10.5281/zenodo.5498378)|[@jcohenadad](https://github.com/jcohenadad)|
195
+
|[micr_SEMzarr](https://github.com/bids-standard/bids-examples/tree/master/micr_SEMzarr)| Example SEM dataset in PNG and OME-ZARR format with 1 sample imaged over 2 sessions | micr | SEM, SPIM, samples, sessions | n/a |[@TheChymera](https://github.com/TheChymera)|
196
+
|[micr_SPIM](https://github.com/bids-standard/bids-examples/tree/master/micr_SPIM)| Example SPIM dataset in OME-TIFF format with 2 samples from the same subject with 4 chunks each | micr | SPIM, photo, samples |[link](https://doi.org/10.5281/zenodo.5517223)|[@jcohenadad](https://github.com/jcohenadad)|
197
+
|[micr_XPCTzarr](https://github.com/bids-standard/bids-examples/tree/master/micr_XPCTzarr)| Example XPCT dataset in OME-ZARR format with 1 sample imaged | micr | XPCT, photo, samples, sessions |[link](https://human-organ-atlas.esrf.eu/datasets/572252538)|[@chourroutm](https://github.com/chourroutm)|
Copy file name to clipboardExpand all lines: dataset_listing.tsv
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ pet005 T1w, PET [@mnoergaard](https://github.com/mnoergaard) anat, pet T1w, eve
59
59
micr_SEMExample SEM dataset in PNG format with 1 sample imaged over 2 sessions[link](https://doi.org/10.5281/zenodo.5498378)[@jcohenadad](https://github.com/jcohenadad)micrSEM, photo, samples, sessions
60
60
micr_SEMzarrExample SEM dataset in PNG and OME-ZARR format with 1 sample imaged over 2 sessions[@TheChymera](https://github.com/TheChymera)micrSEM, SPIM, samples, sessions
61
61
micr_SPIMExample SPIM dataset in OME-TIFF format with 2 samples from the same subject with 4 chunks each[link](https://doi.org/10.5281/zenodo.5517223)[@jcohenadad](https://github.com/jcohenadad)micrSPIM, photo, samples
62
+
micr_XPCTzarrExample XPCT dataset in OME-ZARR format with 1 sample imaged[link](https://human-organ-atlas.esrf.eu/datasets/572252538)[@chourroutm](https://github.com/chourroutm)micrXPCT, photo, samples, sessions
62
63
fnirs_tappingExample fNIRS measurement with three conditions from five subjects[link](https://doi.org/10.5281/zenodo.5529797)[@rob-luke](https://github.com/rob-luke)nirschannels, coordsystem, events, nirs, optodes, scans
motion_systemvalidationExample dataset of two different motion captured system recorded almost simultaneously, but no brain data[link](https://doi.org/10.6084/m9.figshare.20238006.v2)[@JuliusWelzel](https://github.com/JuliusWelzel)motionchannels, motion, scans
You may use the following command to prepare a Python 3.8+ environment for the download of the dataset: `pip install -r data_retrieval_reqs.txt`
10
+
"""
11
+
12
+
data_path=Path("../sub-LADAF-2020-31/ses-01/micr/") # path to session
13
+
data_path.mkdir(exist_ok=True) # create directory
14
+
15
+
# short utility function
16
+
defzarr_array(url,selector):
17
+
print('Retrieving data from', url)
18
+
n5_store=zarr.N5FSStore(url)
19
+
root=zarr.group(store=n5_store)
20
+
returndask.array.from_zarr(root[selector])
21
+
22
+
dataset_full=zarr_array("gs://ucl-hip-ct-35a68e99feaae8932b1d44da0358940b/LADAF-2020-31/brain/25.08um_complete-organ_bm05/","s0") # get a dask.array.Array that points to the whole N5 dataset
23
+
24
+
# default filters and compressors made the script crash; the ones below work:
path_roi=data_path/"sub-LADAF-2020-31_ses-01_sample-brain_XPCT.ome.zarr"# full name of the dataset following BIDS specification
29
+
30
+
print('Writing in', str(path_roi))
31
+
32
+
tic=time.time()
33
+
34
+
store=ome_zarr.io.parse_url(path_roi,mode="a").store# NB: `mode="a"` should allow overwrite but it does not at the moment, see https://github.com/ome/ome-zarr-py/issues/376
35
+
root=zarr.group(store=store)
36
+
ome_zarr.writer.write_image(image=dataset_full,
37
+
group=root,
38
+
scaler=None,
39
+
axes=[
40
+
{
41
+
"name": "z",
42
+
"type": "space",
43
+
"units": "micrometer"# voxel size is an isotropic 25.08 um
44
+
},
45
+
{
46
+
"name": "y",
47
+
"type": "space",
48
+
"units": "micrometer"# voxel size is an isotropic 25.08 um
49
+
},
50
+
{
51
+
"name": "x",
52
+
"type": "space",
53
+
"units": "micrometer"# voxel size is an isotropic 25.08 um
54
+
}
55
+
], # axis order of the dataset following BIDS specification
56
+
coordinate_transformations=[
57
+
[
58
+
{
59
+
"scale": [
60
+
25.08,
61
+
25.08,
62
+
25.08
63
+
], # voxel size is an isotropic 25.08 um
64
+
"type": "scale"
65
+
}
66
+
]
67
+
],
68
+
storage_options=dict(
69
+
chunks=(512,512,512), # this chunk size may be altered depending on someone's needs
70
+
filters=filters, # default filters made the script crash
71
+
compressor=compressor# default compressors made the script crash
You may use the following command to prepare a Python 3.8+ environment for the download of the dataset: `pip install -r metadata_formatter_reqs.txt`
6
+
"""
7
+
8
+
# The following metadata file can be downloaded from https://human-organ-atlas.esrf.eu/datasets/572252538
9
+
metadata_txt_file_uri='https://ids.esrf.fr/ids/getData?sessionId=182d0a3b-de3b-4602-8caf-9bd91dc5b0e5&datafileIds=572252539'# This URI expires quite often
0 commit comments