Interactive surface analysis in napari for measuring mechanical stresses in biological tissues

License PyPI Python Version tests codecov pre-commit PyPI - Downloads napari hub DOI

This plugin provides tools for the analysis of surfaces in Napari, such as utilities to determine and refine the surface-representation of objects using a ray-casting approach and calculate the curvature of surfaces. It re-implements code in Napari that was written for Gross et al. (2021): STRESS, an automated geometrical characterization of deformable particles for in vivo measurements of cell and tissue mechanical stresses and has been made open source in this repository.


For documentation on how to use napari-stress both interactively from the napari-viewer or from code, please visit the documentation


Create a new conda environment with the following command. If you have never used conda before, please read this guide first.

conda create -n napari-stress Python=3.9 napari jupyterlab -c conda-forge
conda activate napari-stress

You can then install napari-stress using pip:

pip install napari-stress


To report bugs, request new features or get in touch, please open an issue or tag @EL_Pollo_Diablo on

See also

There are other napari plugins with similar / overlapping functionality


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


Distributed under the terms of the BSD-3 license, "napari-stress" is free and open source software


This project was supported by the Deutsche Forschungsgemeinschaft under Germany’s Excellence Strategy – EXC2068 - Cluster of Excellence "Physics of Life" of TU Dresden.


  • 0.3.5

Last updated:

  • 16 April 2024

First released:

  • 02 June 2022


Supported data:

  • Information not submitted

Plugin type:

GitHub activity:

  • Stars: 17
  • Forks: 4
  • Issues + PRs: 43

Python versions supported:

Operating system:


  • dask
  • distributed
  • joblib
  • mpmath
  • napari
  • napari-matplotlib>=1.1.0
  • napari-process-points-and-surfaces>=0.4.0
  • napari-segment-blobs-and-things-with-membranes
  • napari-tools-menu>=0.1.15
  • numpy<1.24.0
  • pandas
  • pygeodesic
  • pyocclient
  • pyshtools<=4.10.0
  • scikit-image
  • scipy>=1.9.0
  • seaborn
  • tqdm
  • vedo>=2023.5.0
  • vispy
  • deprecation
  • bokeh>=3.1.0

Sign up to receive updates