Skip to main content

Plugin to compute the focal electric field

Project description

napari-psfgenerator

MIT License PyPI Python Version 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:

  • 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.

You can install napari-psfgenerator via pip:

pip install napari-psfgenerator

To install latest development version :

pip install git+https://github.com/Biomedical-Imaging-Group/napari-psfgenerator.git

Now you can try the plugin out! Open napari, click on the menu "Plugins" and select "Propagators (PSF Generator)".

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.

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

napari_psfgenerator-0.4.0.tar.gz (17.2 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.4.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for napari_psfgenerator-0.4.0.tar.gz
Algorithm Hash digest
SHA256 be85a59a1c3c2474d611176d467e178b6ee32317547cf37c357fbb366b82165c
MD5 ae078cad697d6eb3b18084ef59820cff
BLAKE2b-256 9b24a9e2a9030ea7936bf6917713572ddf2408b6622de7885f1fc94dd47a61d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for napari_psfgenerator-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1bc811f0d3989a7ecdc98d9ca5ce96127aeae73b98095f1da7f1b0f1fa37791
MD5 2cd9c5df1644da72fa1c7bce24b869ec
BLAKE2b-256 48a2c39a49856439cf59730161380dbe4ef24730359b6b6b5a9096f962d054b7

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 Pingdom Monitoring Sentry Error logging StatusPage Status page