Denoising via adaptive binning for FLIM datasets.
Project description
pawFLIM: denoising via adaptive binning for FLIM datasets
Installation
pawFLIM can be installed from PyPI:
pip install pawflim
Usage
import numpy as np
from pawflim import pawflim
data = np.empty((3, *shape), dtype=complex)
data[0] = ... # number of photons
data[1] = ... # n-th (conjugated) Fourier coefficient
data[2] = ... # 2n-th (conjugated) Fourier coefficient
denoised = pawflim(data, n_sigmas=2)
phasor = denoised[1] / denoised[0]
Note that we use the standard FLIM definition for the $n$-th phasor $r$:
$$ r_n = \frac{R_n}{R_0} $$
where
$$ R_n = \int I(t) , e^{i n \omega t} dt $$
is the $n$-th (conjugated) Fourier coefficient.
See the notebook in examples for an example with simulated data.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pawflim-1.0.4.tar.gz.
File metadata
- Download URL: pawflim-1.0.4.tar.gz
- Upload date:
- Size: 121.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf02d1ce185fedf9c15be669e693389b68a4dd576769fd47cda2288465085154
|
|
| MD5 |
19e11cd1b29fc3df6b630fa84182bc48
|
|
| BLAKE2b-256 |
19b59d0e0e0a3db4db143292b8fdb2a235fa13bd52f023e0c3a8b0aac7b3df18
|
File details
Details for the file pawflim-1.0.4-py3-none-any.whl.
File metadata
- Download URL: pawflim-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24448dca75ed395cfb33f9a10ebe07423439590395d56f933137296eacf890a6
|
|
| MD5 |
e4be96e440d4b17f8c85753e3b3daa7e
|
|
| BLAKE2b-256 |
6cffb4efa15272f8fd6163a132cfb8117496a58173b7a337a8322c942f035008
|