Skip to main content

pawFLIM: denoising via adaptive binning for FLIM datasets

PyPi PyPi License Paper

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.

Metadata

Release files for pawflim 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pawflim 1.0.4
File Size Uploaded
pawflim-1.0.4.tar.gz 121.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pawflim 1.0.4
File Interpreter ABI Platform
pawflim-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 127.1 kB

Release files / pawflim-1.0.4.tar.gz

Download URL pawflim-1.0.4.tar.gz
Size 121.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cf02d1ce185fedf9c15be669e693389b68a4dd576769fd47cda2288465085154
BLAKE2b-256 checksum
How to use checksums
19b59d0e0e0a3db4db143292b8fdb2a235fa13bd52f023e0c3a8b0aac7b3df18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / pawflim-1.0.4-py3-none-any.whl

Download URL pawflim-1.0.4-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24448dca75ed395cfb33f9a10ebe07423439590395d56f933137296eacf890a6
BLAKE2b-256 checksum
How to use checksums
6cffb4efa15272f8fd6163a132cfb8117496a58173b7a337a8322c942f035008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page