SofiaKaps commited on
Commit
91a28ed
·
verified ·
1 Parent(s): 8f794e1

Add files using upload-large-folder tool

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: cc-by-4.0
4
+ task_categories:
5
+ - image-to-image
6
+ tags:
7
+ - FLIM
8
+ - fluorescence-lifetime
9
+ - microscopy
10
+ - TCSPC
11
+ - biophysics
12
+ size_categories:
13
+ - 1K<n<10K
14
+ ---
15
+
16
+
17
+ # FL🦩Mngo Training Dataset: deep learning for fluorescence lifetime predictions
18
+
19
+ This dataset contains the training data used in [FLIMngo](https://github.com/SofiaKapsiani/FLIMngo), a YOLO-based deep learning network for predicting fluorescence lifetime values from raw TCSPC-FLIM data.
20
+
21
+ ---
22
+
23
+ ## Dataset Summary
24
+
25
+ The dataset comprises:
26
+
27
+ - **1242 `.h5` files**, each storing:
28
+ - **Simulated TCSPC-FLIM data** in the form of 3D tensors `(t, x, y)`
29
+ - **Ground truth lifetime maps** as 2D tensors `(x, y)` with per-pixel fluorescence lifetimes (in nanoseconds)
30
+ - **File organisation** the dataset is split across 18 .tar files to aid distribution. Each tar file is approx. 4.5 GB with the whole dataset being 78 GB.
31
+
32
+ ---
33
+
34
+ ### Simulation parameters
35
+
36
+ - **Laser repetition rate:** 40 MHz
37
+ - **Time bins:** 256, at 0.0977 ns per bin (~25 ns full window)
38
+ - **Photon counts:** 10 - 2500 photons per pixel
39
+ - **Normalisation:** each decay curve has been normalized to have values between 0 and 1
40
+ - **IRF:** each image is convolved with one IRF drawn at random from a library of 12 experimental or simulated IRFs, with laser jitter applied per image.
41
+ - **Lifetimes:** up to four exponential components per pixel, corresponding to microtubules, proteins, nucleus and endoplasmic reticulum channels of the source images. Component ratios are set by Perlin noise.
42
+ - **Noise:** Poisson noise applied after scaling to the per-pixel photon count.
43
+
44
+ ---
45
+
46
+ ## Usage
47
+
48
+ ```python
49
+ import h5py
50
+ import numpy as np
51
+ import torch
52
+
53
+ # path to an extracted .h5 file
54
+ file_path = '013f0f3a-bbad-11e8-b2ba-ac1f6b6435d0_0.h5'
55
+
56
+ # internal paths used in the .h5 files
57
+ img_internal_path = 'tpsf'
58
+ label_internal_path = 'tau_maps'
59
+
60
+ # load data
61
+ with h5py.File(file_path, 'r') as f:
62
+ raw_data = np.asarray(f[img_internal_path])
63
+ ground_truth = np.asarray(f[label_internal_path])
64
+
65
+ # convert to torch tensors
66
+ raw_data_tensor = torch.from_numpy(raw_data).permute(0, 2, 1).float()
67
+ ground_truth_tensor = torch.from_numpy(ground_truth).permute(1, 0).float()
68
+ ```
69
+
70
+ ---
71
+
72
+ ## Licence
73
+
74
+ Released under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). The FLIMngo source code is separately licensed under MIT.
75
+
76
+ ---
77
+
78
+ ## Citation
79
+
80
+ *If you found **FLIMngo** helpful, please consider citing our work!* 😊
81
+
82
+ <a name="bibtex-citation"></a>
83
+ ```bibtex
84
+ @article{Kapsiani2025.02.20.639036,
85
+ author = {Kapsiani, Sofia and L{\"a}ubli, Nino F and Ward, Edward N and Fernandez-Villegas, Ana and Mazumder, Bismoy and Kaminski, Clemens F and Kaminski Schierle, Gabriele S},
86
+ title = {Deep learning for fluorescence lifetime predictions enables high-throughput in vivo imaging},
87
+ elocation-id = {2025.02.20.639036},
88
+ year = {2025},
89
+ doi = {10.1101/2025.02.20.639036},
90
+ URL = {https://www.biorxiv.org/content/early/2025/02/26/2025.02.20.639036},
91
+ eprint = {https://www.biorxiv.org/content/early/2025/02/26/2025.02.20.639036.full.pdf},
92
+ journal = {bioRxiv}
93
+ }
94
+ ```
95
+
data/train-00000.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b1bb16f51b8bbbff8581cd51ce16368920d78773cd4a0984499261546cbfa2c
3
+ size 4716288000
data/train-00001.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:195b15e2684c45704b2c4adc2a809392c3d86564e8ef6b1238092ccc4b4b231f
3
+ size 4716288000
data/train-00002.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29050b3397bf03749bcab8aa353a162a8ef5991d90ef9efdad9fe09838ac8cd5
3
+ size 4716288000
data/train-00003.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f50e65161805394b0a14a863e471d9517c1a551b5da157e1ccf3a55f1021254
3
+ size 4716277760
data/train-00004.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06a231c91e4c9133721f2a44a265e135808dd42b0aa83b7e2844473441b23b56
3
+ size 4716288000
data/train-00005.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d56a98c348f1c23795e568cf3a28e99d67fd71338d4be0a7a6bd08fb5fe97827
3
+ size 4716277760
data/train-00006.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6290d9c06c929bd7eef4e1c55fcda531d99de76677b4e035a6a0e0c1bd573302
3
+ size 4716247040
data/train-00007.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:782fa2c8afcc224c298e531f79f10619c4813954650443f3e0905167a92e3efd
3
+ size 4716288000
data/train-00008.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9e8cbcddc0ba9718360ddd77fec9dda58a33efee546a8465e9edb5d2b6884cd
3
+ size 4716277760
data/train-00009.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b115bc6b4c08ef3e08bd0ea79a8b09f168d01db874c8a51b042b76f2325b07c
3
+ size 4716277760
data/train-00010.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72a73d7d537693fa11fb3f1efaae308d27bd45b9f5d8b18cb250b32ec2020bd2
3
+ size 4716277760
data/train-00011.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41a6cc8e2a907bab2d61f87a9c27741bcb38c5d32d6747f0f234a159d906434f
3
+ size 4716277760
data/train-00012.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91dce6064b8574e9a9f52c0ff62828e44087c9567cc7bb7265b0011cabab79aa
3
+ size 4716298240
data/train-00013.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13659d103933fa7628ad2bd4daca80dbe3db591b9eea4fffa10216635a62c221
3
+ size 4716298240
data/train-00014.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d18885900e90c3abd394637d570af8a2815ec03440b9d31a5fd937010fb9f99
3
+ size 4716298240
data/train-00015.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ade5d57fcd02cfcbcde2f811e3fb02716c81abd2e7aa9b4ceaa4344fc5c67a5b
3
+ size 4716298240
data/train-00016.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b70fa4bdd33ca763c6da529c3881fb6b04fabeeed092bea06948c7545cca1af
3
+ size 4716298240
data/train-00017.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18b791265f0eaa08ec1b26165ce2eb49575d1c3eddd6beb3384dc1a246ea93cc
3
+ size 3503534080