Skip to main content

License PyPI Python Version

s²ISM

This python package implements s²ISM (Super-resolution Sectioning Image Scanning Microscopy), a computational technique to reconstruct images with enhanced resolution, optical sectioning, signal-to-noise ratio and sampling from a conventional ISM dataset acquired by a laser scanning microscope equipped with a detector array. The details of the method are described in the paper Structured Detection for Simultaneous Super-Resolution and Optical Sectioning in Laser Scanning Microscopy.

The ISM dataset should be a numpy array in the format (x, y, channel), where the channel dimension is the flattened 2D dimension of the detector array. If lifetime data are present, the array should be in the format (x, y, time, channel).

This package also contains a module for simulating instrument-specific PSFs by retrieving the relevant parameters automatically from the raw dataset with minimal user inputs.

Installation

You can install s2ism via pip directly from GitHub:

pip install git+https://github.com/VicidominiLab/s2ISM

or using the version on PyPI:

pip install s2ism

It requires the following Python packages

numpy
matplotlib
scipy
scikit-image
brighteyes-ism
torch
tqdm

Documentation

You can find examples of usage here:

https://github.com/VicidominiLab/s2ISM/tree/main/examples

Citation

If you find s²ISM useful for your research, please cite it as:

Zunino, A., Garrè, G., Perego, E. et al. Structured detection for simultaneous super-resolution and optical sectioning in laser scanning microscopy. Nat. Photon. (2025). https://doi.org/10.1038/s41566-025-01695-0

License

Distributed under the terms of the GNU GPL v3.0 license, "s2ISM" is free and open source software

Contributing

You want to contribute? Great! Contributing works best if you creat a pull request with your changes.

  1. Fork the project.
  2. Create a branch for your feature: git checkout -b cool-new-feature
  3. Commit your changes: git commit -am 'My new feature'
  4. Push to the branch: git push origin cool-new-feature
  5. Submit a pull request!

If you are unfamilar with pull requests, you find more information on pull requests in the github help

Issues

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

Metadata

Release files for s2ism 0.2.0

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

Source distribution (sdist)

Source distribution for s2ism 0.2.0
File Size Uploaded Provenance Actions
s2ism-0.2.0.tar.gz 31.7 kB Without provenance Details for s2ism-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 63.0 kB

Release files / s2ism-0.2.0.tar.gz

Download URL s2ism-0.2.0.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ad4941a7580c61feef21244cb57dd13550f15b84fb938ebb0cb5a6ed65b08e3f
BLAKE2b-256 checksum
How to use checksums
62f6ffc8050f91f1410ec6a3065beb4cbcacd64da53b2a1020ded393808598aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.2

Release files / s2ism-0.2.0-py3-none-any.whl

Download URL s2ism-0.2.0-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3398033e68be12716e4f93524525f2f8aa913b0273bda25e7767b4972aa145ce
BLAKE2b-256 checksum
How to use checksums
fcbd41cddfd88c2eb2b4fb588584613d2fd467da1ed0a4caa36b2f30c876ba16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.2

Security for s2ism 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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