Mostly ImageJ/Fiji-related Python helper functions.
Project description
IMCFlibs 🐍 ☕ 🔩 🔧 🪛
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
- See the Split_TIFFs_By_Channels_And_Slices.py script.
Use status and progress bar updates
- See the FluoView_OIF_OIB_OIR_Simple_Stitcher.py script.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imcflibs-1.5.0a27.tar.gz.
File metadata
- Download URL: imcflibs-1.5.0a27.tar.gz
- Upload date:
- Size: 66.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4af78b6405931dbf3b4fbbffd5436007ba05c8c58f90744ee810a8e5ee68792d
|
|
| MD5 |
fc8d1d965c5e6f07dc70c05ba445ad53
|
|
| BLAKE2b-256 |
4a66c79790ada36f34467d46f6f145c0d58888055b5dd935badfac52f60035cf
|
Provenance
The following attestation bundles were made for imcflibs-1.5.0a27.tar.gz:
Publisher:
build.yml on imcf/python-imcflibs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imcflibs-1.5.0a27.tar.gz -
Subject digest:
4af78b6405931dbf3b4fbbffd5436007ba05c8c58f90744ee810a8e5ee68792d - Sigstore transparency entry: 194373551
- Sigstore integration time:
-
Permalink:
imcf/python-imcflibs@e4d344807f3a0f4980afa766c1e4c746c57501d5 -
Branch / Tag:
refs/tags/python-imcflibs-1.5.0.a27 - Owner: https://github.com/imcf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@e4d344807f3a0f4980afa766c1e4c746c57501d5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file imcflibs-1.5.0a27-py2.py3-none-any.whl.
File metadata
- Download URL: imcflibs-1.5.0a27-py2.py3-none-any.whl
- Upload date:
- Size: 75.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ab197f01c89a8a73a91ebda5bec6daa0f1a1880851a5919c6a235650781a84d
|
|
| MD5 |
fea98ea91e892df2e2a5560b3558c471
|
|
| BLAKE2b-256 |
94e108da9a0734a9bed81942dd62763b052e184fb3c016ca1738d77e60c097ba
|
Provenance
The following attestation bundles were made for imcflibs-1.5.0a27-py2.py3-none-any.whl:
Publisher:
build.yml on imcf/python-imcflibs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imcflibs-1.5.0a27-py2.py3-none-any.whl -
Subject digest:
2ab197f01c89a8a73a91ebda5bec6daa0f1a1880851a5919c6a235650781a84d - Sigstore transparency entry: 194373553
- Sigstore integration time:
-
Permalink:
imcf/python-imcflibs@e4d344807f3a0f4980afa766c1e4c746c57501d5 -
Branch / Tag:
refs/tags/python-imcflibs-1.5.0.a27 - Owner: https://github.com/imcf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@e4d344807f3a0f4980afa766c1e4c746c57501d5 -
Trigger Event:
release
-
Statement type: