Skip to main content

Sigima - Scientific Image and Signal Processing Library

Sigima

license pypi version PyPI status PyPI pyversions Sigima demo

Sigima is an open-source Python library for scientific image and signal processing, designed as a modular and testable foundation for building advanced analysis pipelines.

🔬 Developed by the DataLab Platform Developers, Sigima powers the computation backend of DataLab.

🚀 Try it Online

Experience Sigima instantly in your browser — no installation required!

Sigima demo

Click the badge above to open a basic example notebook in a live JupyterLite environment powered by notebook.link. This service, developed by QuantStack, enables sharing and running Jupyter notebooks directly in the browser with zero setup.

Simply run the cells to explore:

  • Creating signal and image objects
  • Applying processing functions
  • Visualizing results inline

🌟 Project & Sponsors

Project/Sponsor Description
DataLab logo Open-source platform for scientific signal and image processing, powered by Sigima.
NLnet logo European non-profit supporting open-source and internet projects. Sigima has received funding from NLnet for its development, through the DataLab project.

✨ Highlights

  • Unified processing model for 1D signals and 2D images
  • Works with object-oriented wrappers (SignalObj, ImageObj) extending NumPy arrays
  • Includes common processing tasks: filtering, smoothing, binning, thresholding, labeling, etc.
  • Structured for testability, modularity, and headless usage
  • Independent of GUI frameworks: no Qt binding required (Sigima depends on guidata, from PlotPyStack, for its parameter classes and configuration)

💡 Use cases

Sigima is meant to be:

  • A processing backend for scientific/industrial tools
  • A library to build reproducible analysis pipelines
  • A component for headless automation or remote execution
  • A testbed for developing and validating new signal/image operations

📖 Design Philosophy

The main goal of Sigima is to provide a unified, high-level API for handling and processing 1D signals and 2D images, through dedicated Python objects: SignalObj and ImageObj.

The library is organized to separate concerns clearly:

  • sigima.objects: defines the object model for signals and images.
  • sigima.params: contains parameter classes for configuring processing functions.
  • sigima.proc: provides high-level processing functions that operate directly on SignalObj and ImageObj instances.
  • sigima.io: handles input/output operations (CSV files, image formats, etc.) for signals and images.
  • sigima.tools: contains low-level, NumPy-based functions that implement the core logic behind many processing routines.

This structure supports a layered programming model:

  • Developers can use proc to process full signal/image objects in an object-oriented manner.
  • Or they can directly use tools to process raw NumPy arrays — for instance, in custom tools or when integrating Sigima into other projects.

⚠️ sigima.tools is not intended as a general-purpose NumPy extension. Its purpose is to fill in the gaps of common scientific libraries (NumPy, SciPy, scikit-image, etc.), offering consistent tools for signal/image processing in the context of Sigima and similar projects.


Usage Outside Sigima

Although Sigima is designed primarily for object-based processing, some of its core functions are useful on their own.

For instance, the DataLab project — an open-source platform for signal/image processing — uses many functions from sigima.tools independently of the object model. This demonstrates how sigima.tools can serve as a lightweight utility layer in scientific and industrial Python applications, even when the object model is not used directly.

To maintain this flexibility and avoid confusion, the distinction between tools (array-based) and proc (object-based) is intentional and explicit.


📦 Installation

pip install sigima

Or in a development environment:

git clone https://github.com/DataLab-Platform/Sigima.git
cd Sigima
pip install -e .

📚 Documentation

📖 Full documentation (in progress) is available at: 👉 https://sigima.readthedocs.io/

Want to use Sigima inside DataLab with GUI tools? Check out the full platform: DataLab


⚙️ Architecture

Sigima is organized by data type:

sigima/
├── objects/        # Object model (SignalObj, ImageObj, ROIs, scalar results, annotations)
├── params.py       # Parameter classes of computation functions (re-exported from proc)
├── proc/           # High-level processing functions operating on SignalObj/ImageObj
│   ├── base.py     # Common processing functions
│   ├── signal/     # 1D signal processing
│   ├── image/      # 2D image processing
│   └── contracts/  # Operation contracts (identifiers, versions, replay)
├── tools/          # Low-level NumPy-based algorithms supporting some computation functions
├── io/             # Input/output of signals and images (file formats)
├── client/         # Remote control client for DataLab (XML-RPC)
├── viz/            # Visualization tools (PlotPy, Matplotlib and Plotly backends)
└── config.py       # Configuration options

Each domain provides:

  • Low-level functions operating on NumPy arrays
  • High-level functions operating on SignalObj or ImageObj

🧪 Testing

Sigima comes with unit tests based on pytest.

To run all tests:

pytest

To run GUI-assisted validation tests (optional):

pytest --gui

🧠 License

Sigima is distributed under the terms of the BSD 3-Clause license. See LICENSE for details.


🤝 Contributing

Bug reports, feature requests and pull requests are welcome! See the Contributing guide to get started.


Python NumPy SciPy scikit-image OpenCV


© DataLab Platform Developers

Metadata

Release files for sigima 1.4.1

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

Source distribution (sdist)

Source distribution for sigima 1.4.1
File Size Uploaded Provenance Actions
sigima-1.4.1.tar.gz 11.1 MB With provenance Details for sigima-1.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 22.0 MB

Release files / sigima-1.4.1.tar.gz

Download URL sigima-1.4.1.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
2f077412c3f3681873069ddb362dff0ed85a0c90db4e82331bb239490819ad81
BLAKE2b-256 checksum
How to use checksums
b3584e3878f646478dda7ca4a1ede9012b0326fc00de3a818d64341c8e470a2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / sigima-1.4.1-py3-none-any.whl

Download URL sigima-1.4.1-py3-none-any.whl
Size 10.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8cdc6aa329aa3c1c4a2a04251d022f7041e623c826117d6fc7d9ee74cb8b3d69
BLAKE2b-256 checksum
How to use checksums
6792c30546eb388efc5de8628cb11a34d1ecb5751c9eb5da4ebc6716e661517a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for sigima 1.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sigima-1.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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