Skip to main content

napari-psfgenerator

License MIT PyPI Python Version tests codecov napari hub

PSF Generator Napari Plugin

The PSF Generator Napari Plugin provides an intuitive, interactive platform for simulating point spread functions (PSFs) directly within the Napari ecosystem. Built on PyTorch, this plugin supports both CPU and GPU-accelerated computations, ensuring fast and efficient simulations for fundamental and advanced optical modeling. Key features include:

Flexible Propagation Models: Scalar and vectorial propagators in Cartesian and spherical coordinates. Customizable Parameters: Configure physical (e.g., numerical aperture, wavelength), numerical (e.g., pixel size, Z-stacks), and optical settings (e.g., Gibson-Lanni corrections, Zernike aberrations). Real-Time Visualization: Seamless integration with Napari for immediate visual feedback. Versatile API: Access propagators programmatically for custom workflows. Image Export: Save computed PSFs in TIFF format.

This plugin is a powerful tool for researchers in optics, computational microscopy, and imaging science, bridging user-friendly interactivity with the computational capabilities of our Python library.


This napari plugin was generated with copier using the napari-plugin-template.

Installation

Set up a Python virtual environment and install napari following this guide.

After activating the virtual environment, you need first to install locally the psf_generator library following the instructions below.

git clone git@github.com:Biomedical-Imaging-Group/psf_generator.git
cd psf_generator
pip install -e .

Move to the correct working directory, then install locally the plugin following the instructions below.

cd .. # move to one directory above
git clone git@github.com:Biomedical-Imaging-Group/napari-psfgenerator.git
pip install -e .
napari

Now you can try the plugin out!

Here we installed the package in "editable mode", so we can modify the code and see the changes in real-time.

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "napari-psfgenerator" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_psfgenerator-0.0.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_psfgenerator-0.0.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file napari_psfgenerator-0.0.1.tar.gz.

File metadata

  • Download URL: napari_psfgenerator-0.0.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for napari_psfgenerator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 62344cc73fe200fa4c02b935b21dae6c4b70bed0d96b443d99ba251b6f35ba0a
MD5 0ad7abed0be64608053ff7b74295bcbf
BLAKE2b-256 77835b73127540dc8773134d58101237a7e9bfc05c22ee9d30c4594623831d46

See more details on using hashes here.

File details

Details for the file napari_psfgenerator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_psfgenerator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3e1cd17603665852f63a6516ad8743a885654a234ffcdfa3c70d8bdab06bb61
MD5 d0fe08ba9b2b0734c0b7e7fcce338501
BLAKE2b-256 89e2339a114e91e4f6d25d81e3b2f1f147e922926ff656ac0381fdc5b7c526f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page