{"id":17970359,"url":"https://github.com/maurosilber/pawflim","last_synced_at":"2025-06-14T20:38:51.330Z","repository":{"id":163201393,"uuid":"638628838","full_name":"maurosilber/pawflim","owner":"maurosilber","description":"Wavelet denoising of phasors.","archived":false,"fork":false,"pushed_at":"2024-07-01T17:00:28.000Z","size":129,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T08:14:33.925Z","etag":null,"topics":["denoising","flim","phasors","wavelets"],"latest_commit_sha":null,"homepage":"https://doi.org/10.1088/2050-6120/aa72ab","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maurosilber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-09T18:57:04.000Z","updated_at":"2024-03-22T14:58:10.000Z","dependencies_parsed_at":"2024-01-03T11:49:39.319Z","dependency_job_id":"cfd6ac29-02a7-43ac-baad-0f10f7814918","html_url":"https://github.com/maurosilber/pawflim","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/maurosilber/pawflim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fpawflim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fpawflim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fpawflim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fpawflim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maurosilber","download_url":"https://codeload.github.com/maurosilber/pawflim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fpawflim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259880654,"owners_count":22925978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["denoising","flim","phasors","wavelets"],"created_at":"2024-10-29T15:05:04.868Z","updated_at":"2025-06-14T20:38:51.282Z","avatar_url":"https://github.com/maurosilber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pawFLIM: denoising via adaptive binning for FLIM datasets\n\n![PyPi](https://img.shields.io/pypi/pyversions/pawflim.svg)\n[![PyPi](https://img.shields.io/pypi/v/pawflim.svg)](https://pypi.python.org/pypi/pawflim)\n[![License](https://img.shields.io/github/license/maurosilber/smo)](https://opensource.org/licenses/MIT)\n[![Paper](https://img.shields.io/badge/DOI-10.1088%2F2050--6120%2Faa72ab-green)](https://doi.org/10.1088/2050-6120/aa72ab)\n\n## Installation\n\npawFLIM can be installed from PyPI:\n\n```\npip install pawflim\n```\n\nor conda-forge:\n\n```\nconda install -c conda-forge pawflim\n```\n\n## Usage\n\n```python\nimport numpy as np\nfrom pawflim import pawflim\n\ndata = np.empty((3, *shape), dtype=complex)\ndata[0] = ...  # number of photons\ndata[1] = ...  # n-th (conjugated) Fourier coefficient\ndata[2] = ...  # 2n-th (conjugated) Fourier coefficient\n\ndenoised = pawflim(data, n_sigmas=2)\n\nphasor = denoised[1] / denoised[0]\n```\n\nNote that we use the standard FLIM definition for the $n$-th phasor $r$:\n\n$$ r_n = \\\\frac{R_n}{R_0} $$\n\nwhere\n\n$$ R_n = \\\\int I(t) , e^{i n \\\\omega t} dt $$\n\nis the $n$-th (conjugated) Fourier coefficient.\n\nSee the notebook in\n[examples](https://github.com/maurosilber/pawflim/blob/main/examples/simulated_data.ipynb)\nfor an example with simulated data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaurosilber%2Fpawflim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaurosilber%2Fpawflim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaurosilber%2Fpawflim/lists"}