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.

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.

The pip installable package is probably only useful for two cases: running pytest (where applicable) and rendering HTML-based API docs using pdoc. Let us know in case you're having another use case 🎪 for it.

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.0a5.tar.gz (55.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imcflibs-1.5.0a5-py2.py3-none-any.whl (62.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for imcflibs-1.5.0a5.tar.gz
Algorithm Hash digest
SHA256 f199b26addea66092b7546e1154f3e22faf98fe4f16b3944e54b149cce34581c
MD5 e7b487205d8664193f0753a39dbab097
BLAKE2b-256 10d7a0b5901f2140c77e8ecf9fa6fbd4e18198b0a9d82bb1f6d2aaf8e23600bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imcflibs-1.5.0a5-py2.py3-none-any.whl
  • Upload date:
  • Size: 62.9 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-130-generic

File hashes

Hashes for imcflibs-1.5.0a5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0a37e4273c497449dcc1552f8ee400773a7533a3312e9d97d3eca85d141c94ac
MD5 d59ecb4d061697ed45b93c1842bbffef
BLAKE2b-256 51228f558ce6905d1c6658a71bd255310eec72f6907302217dbdd337dfe478eb

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