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 install
able 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
File details
Details for the file imcflibs-1.5.0a2.tar.gz
.
File metadata
- Download URL: imcflibs-1.5.0a2.tar.gz
- Upload date:
- Size: 52.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4159194f88c072cb06187895ea7bb736d35baac6613bce0abc89514fff6a8a1c |
|
MD5 | b6a70f68dde164e6b4113c0a299447a1 |
|
BLAKE2b-256 | 9416c1a37e9d0d6d357e44cb0a876b7b8dc594ef47025b76786e13676ffe75c8 |
File details
Details for the file imcflibs-1.5.0a2-py2.py3-none-any.whl
.
File metadata
- Download URL: imcflibs-1.5.0a2-py2.py3-none-any.whl
- Upload date:
- Size: 59.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a059918761b4ef4dffa885ad6a51d5b185fa2477c4b3c2ecbc40820633ca3446 |
|
MD5 | 9f6ca09d4f6814a81c2f10780249bd6e |
|
BLAKE2b-256 | 382d18cb040eb9b4e9473fc60be5423bf7467a2d28ce4678985b8676779de989 |