Skip to main content

Mostly ImageJ/Fiji-related Python helper functions.

Project description

IMCFlibs 🐍 ☕ 🔩 🔧 🪛

Build Status DOI

This package contains a diverse collection of Python functions dealing with paths, I/O (file handles, ...), strings etc. and tons of Fiji / ImageJ2 convenience wrappers to simplify scripting and reduce cross-script redundanciees.

Initially this has been a multi-purpose package where a substantial part had been useful in CPython as well. However, since the latest Jython release is still based on Python 2.7 (see the Jython 3 roadmap for more info), imcflibs is now basically limited to the Fiji / ImageJ2 ecosystem (which is also the reason why no pip installable package is provided).

Releases are made through Maven and published to the SciJava Maven repository. The easiest way to use the lib is by adding the IMCF Uni Basel update site to your ImageJ installation.

Developed and provided by the Imaging Core Facility (IMCF) of the Biozentrum, University of Basel, Switzerland.

Example usage

Shading correction / projection

Apply a shading correction model and create a maximum-intensity projection:

from imcflibs.imagej.shading import correct_and_project

model = "/path/to/shading_model.tif"
raw_image = "/path/to/raw_data/image.ome.tif"
out_path = "/path/to/processed_data/"

correct_and_project(raw_image, out_path, model, "Maximum", ".ics")

Split TIFFs by channels and slices

Use status and progress bar updates

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

imcflibs-1.5.0a0.tar.gz (52.0 kB view details)

Uploaded Source

Built Distribution

imcflibs-1.5.0a0-py2.py3-none-any.whl (59.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file imcflibs-1.5.0a0.tar.gz.

File metadata

  • Download URL: imcflibs-1.5.0a0.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-125-generic

File hashes

Hashes for imcflibs-1.5.0a0.tar.gz
Algorithm Hash digest
SHA256 e9f3203b945595bcd208467fd2aa182a4ed7869c740eb7966dcbd5755832cdee
MD5 cfbc08c70f0eaca11955e624afa632eb
BLAKE2b-256 856de2329e8a9b157ed5e6ee80356a640d74dfbbd57387fc8e1a55db4fe2143a

See more details on using hashes here.

File details

Details for the file imcflibs-1.5.0a0-py2.py3-none-any.whl.

File metadata

  • Download URL: imcflibs-1.5.0a0-py2.py3-none-any.whl
  • Upload date:
  • Size: 59.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-125-generic

File hashes

Hashes for imcflibs-1.5.0a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 81666001205aa74012f38f0fbb324844759ed552f8a6db4619c547991e2a14e1
MD5 5ccdbf874d4922267f0c34cef3e9aa11
BLAKE2b-256 24abfa2fb9ab9e769e5cf4a2738dece8be733adb4bffa3eefcf5b4aa8bd27e3c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page