psf-generator


Namepsf-generator JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryPSF Generator: a PyTorch-based library to simulate point spread functions for microscopies.
upload_time2025-02-05 14:09:14
maintainerJonathan Dong
docs_urlNone
authorJonathan Dong, Jonathan Chuah, Daniel Sage
requires_python>=3.8
licenseMIT License Copyright (c) 2024 Biomedical Imaging Group, EPFL Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords point-spread-function pytorch deep learning microscopies imaging optical system fluorescene psf engineering light propagation
VCS
bugtrack_url
requirements furo humanize matplotlib numpy pytest scikit-image scipy sphinx myst-nb pydata-sphinx-theme torch tqdm zernikepy notebook
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PSF-Generator
***
Welcome to the psf-generator library!

This library implements various physical models that compute the point spread function (PSF) for microscopes. 
PSF characterizes the response of an imaging system to a point source of light and is crucial for tasks such as 
deconvolution, correction of aberrations, and characterization of the system.

We classify these models based on their physical property (scalar or vectorial) and numerical property (computed on a 
Cartesian or spherical coordinate system) and implement them as the following four
_propagators_

| Name of propagator             |         Other names         |
|--------------------------------|:---------------------------:|
| `ScalarCartesianPropagator`    | simple/scalar Fourier model |
| `ScalarSphericalPropagator`    |       Kirchhoff model       |
| `VectorialCartesianPropagator` |   vectorial Fourier model   |
| `VectorialSphericalPropagator` |     Richards-Wolf model     |

All of them can be derived from the Richards-Wolf integral under certain parameterization and conditions.
For details on the theory, please kindly refer to our paper
[Revisiting PSF models: unifying framework and high-performance implementation](todo:addlink) or the documentation: TO ADD LINK.

# Installation

## Basic Installation

```
pip install psf-generator
```

That's it for the basic intallation; you're ready to go!

## Developer Installation

If you're interested in experimenting with the code base, please clone the repository and install it using the following commands:
```
git clone git@github.com:Biomedical-Imaging-Group/psf_generator.git
cd psf_generator
pip install -e .
```

# Demos

Jupyter Notebook demos can be found under `demos/`.

# Napari Plugin
You can find our Napari plugin [here](https://github.com/Biomedical-Imaging-Group/napari-psfgenerator).

# Documentation
Documentation can be found here: TO ADD LINK

# Cite Us

TODO

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "psf-generator",
    "maintainer": "Jonathan Dong",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Yan Liu <yan.liu@epfl.ch>, Vasiliki Stergiopoulou <vasiliki.stergiopoulou@epfl.ch>, jonathan.dong@epfl.ch",
    "keywords": "point-spread-function, pytorch, deep learning, microscopies, imaging, optical system, fluorescene, psf engineering, light propagation",
    "author": "Jonathan Dong, Jonathan Chuah, Daniel Sage",
    "author_email": "Yan Liu <yan.liu@epfl.ch>, Vasiliki Stergiopoulou <vasiliki.stergiopoulou@epfl.ch>, jonathan.dong@epfl.ch, jonathan.chuahwenjie@epfl.ch, daniel.sage@epfl.ch",
    "download_url": "https://files.pythonhosted.org/packages/24/28/3828d794079db9a8582cc08414f2e13487a52a5a6d59258ecb164c72ec51/psf_generator-0.0.1.tar.gz",
    "platform": null,
    "description": "# PSF-Generator\n***\nWelcome to the psf-generator library!\n\nThis library implements various physical models that compute the point spread function (PSF) for microscopes. \nPSF characterizes the response of an imaging system to a point source of light and is crucial for tasks such as \ndeconvolution, correction of aberrations, and characterization of the system.\n\nWe classify these models based on their physical property (scalar or vectorial) and numerical property (computed on a \nCartesian or spherical coordinate system) and implement them as the following four\n_propagators_\n\n| Name of propagator             |         Other names         |\n|--------------------------------|:---------------------------:|\n| `ScalarCartesianPropagator`    | simple/scalar Fourier model |\n| `ScalarSphericalPropagator`    |       Kirchhoff model       |\n| `VectorialCartesianPropagator` |   vectorial Fourier model   |\n| `VectorialSphericalPropagator` |     Richards-Wolf model     |\n\nAll of them can be derived from the Richards-Wolf integral under certain parameterization and conditions.\nFor details on the theory, please kindly refer to our paper\n[Revisiting PSF models: unifying framework and high-performance implementation](todo:addlink) or the documentation: TO ADD LINK.\n\n# Installation\n\n## Basic Installation\n\n```\npip install psf-generator\n```\n\nThat's it for the basic intallation; you're ready to go!\n\n## Developer Installation\n\nIf you're interested in experimenting with the code base, please clone the repository and install it using the following commands:\n```\ngit clone git@github.com:Biomedical-Imaging-Group/psf_generator.git\ncd psf_generator\npip install -e .\n```\n\n# Demos\n\nJupyter Notebook demos can be found under `demos/`.\n\n# Napari Plugin\nYou can find our Napari plugin [here](https://github.com/Biomedical-Imaging-Group/napari-psfgenerator).\n\n# Documentation\nDocumentation can be found here: TO ADD LINK\n\n# Cite Us\n\nTODO\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2024 Biomedical Imaging Group, EPFL\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.\n        ",
    "summary": "PSF Generator: a PyTorch-based library to simulate point spread functions for microscopies.",
    "version": "0.0.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/Biomedical-Imaging-Group/psf_generator/issues",
        "Changelog": "https://github.com/Biomedical-Imaging-Group/psf_generator/CHANGELOG.md",
        "Documentation": "https://readthedocs.org",
        "Homepage": "https://github.com/Biomedical-Imaging-Group/psf_generator",
        "Repository": "https://github.com/Biomedical-Imaging-Group/psf_generator.git"
    },
    "split_keywords": [
        "point-spread-function",
        " pytorch",
        " deep learning",
        " microscopies",
        " imaging",
        " optical system",
        " fluorescene",
        " psf engineering",
        " light propagation"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "52c9065223f4021715e0a800a82ff3d42ea7ea7df4f4f9676c0dec7951285f13",
                "md5": "421e7a02cb8b16476d85fe79927a00ba",
                "sha256": "3859ad27bfda74b2d93496d02e04e693c8f72f87f0946ad2709bee8a781828c2"
            },
            "downloads": -1,
            "filename": "psf_generator-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "421e7a02cb8b16476d85fe79927a00ba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 31015,
            "upload_time": "2025-02-05T14:09:12",
            "upload_time_iso_8601": "2025-02-05T14:09:12.913961Z",
            "url": "https://files.pythonhosted.org/packages/52/c9/065223f4021715e0a800a82ff3d42ea7ea7df4f4f9676c0dec7951285f13/psf_generator-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "24283828d794079db9a8582cc08414f2e13487a52a5a6d59258ecb164c72ec51",
                "md5": "2dce5cf7d961a2e6fbef887348888a25",
                "sha256": "52f4f4e8e09e0660f31db8b34eb9d1bee0a7a49b830348f28523ee435b28f888"
            },
            "downloads": -1,
            "filename": "psf_generator-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2dce5cf7d961a2e6fbef887348888a25",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 25308,
            "upload_time": "2025-02-05T14:09:14",
            "upload_time_iso_8601": "2025-02-05T14:09:14.913500Z",
            "url": "https://files.pythonhosted.org/packages/24/28/3828d794079db9a8582cc08414f2e13487a52a5a6d59258ecb164c72ec51/psf_generator-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-05 14:09:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Biomedical-Imaging-Group",
    "github_project": "psf_generator",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "furo",
            "specs": []
        },
        {
            "name": "humanize",
            "specs": []
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    ">=",
                    "3.6.1"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.23.4"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "scikit-image",
            "specs": []
        },
        {
            "name": "scipy",
            "specs": [
                [
                    ">=",
                    "1.9.1"
                ]
            ]
        },
        {
            "name": "sphinx",
            "specs": []
        },
        {
            "name": "myst-nb",
            "specs": []
        },
        {
            "name": "pydata-sphinx-theme",
            "specs": []
        },
        {
            "name": "torch",
            "specs": [
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": []
        },
        {
            "name": "zernikepy",
            "specs": [
                [
                    ">=",
                    "0.0.5"
                ]
            ]
        },
        {
            "name": "notebook",
            "specs": []
        }
    ],
    "lcname": "psf-generator"
}
        
Elapsed time: 1.53434s