QIM tools and user interfaces
Project description
QIM3D (Quantitative Imaging in 3D)
qim3D
is a Python library for quantitative imaging analysis in 3D. It provides functionality for handling data, as well as tools for visualization and analysis.
This library contains the tools and functionalities of the QIM platform, accessible at https://qim.dk/platform
Installation
Install the latest stable version by using pip:
pip install qim3d
Or clone this repository for the most recent version.
Usage
Some basic funtionalites are descibred here. The full documentation is still under development.
Loading Data
To load image data from a file, use qim.io.load()
import qim3d
# Load a file
vol = qim3d.io.load("path/to/file.tif")
# Load a file as a virtual stack
vol = qim3d.io.load("path/to/file.tif", virtual_stack=True)
Visualize data
You can easily check slices from your volume using slices
import qim3d
img = qim3d.examples.fly_150x256x256
# By default shows the middle slice
qim3d.viz.slices(img)
# Or we can specifly positions
qim3d.viz.slices(img, position=[0,32,128])
# Parameters for size and colormap are also possible
qim3d.viz.slices(img, img_width=6, img_height=6, cmap="inferno")
GUI Components
The library also provides GUI components for interactive data analysis and exploration.
The qim3d.gui
module contains various classes for visualization and analysis:
import qim3d
app = qim3d.gui.iso3d.Interface()
app.launch()
GUIs can also be launched using the Qim3D CLI:
$ qim3d gui --data-explorer
Contributing
Contributions to qim3d
are welcome! If you find a bug, have a feature request, or would like to contribute code, please open an issue or submit a pull request.
License
This project is licensed under the MIT License.
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 qim3d-0.3.2.tar.gz
.
File metadata
- Download URL: qim3d-0.3.2.tar.gz
- Upload date:
- Size: 33.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a9e604cb8e15d789ffa69e224a52bdd10f077cb10f23982fc2b93d652c5565 |
|
MD5 | a6a096f0a601c70eb1d259f996fa8c65 |
|
BLAKE2b-256 | acadfcda2686fa9da07208b33c8c1d6a2ab153b09b70574ea2b9c01dbbd2ac14 |
File details
Details for the file qim3d-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: qim3d-0.3.2-py3-none-any.whl
- Upload date:
- Size: 33.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75e954100199b3efa3d9ad98da311db8491dec3d2986fcde116ec9921cffe715 |
|
MD5 | a082aa6e0f45b168ed3dbacb015d315c |
|
BLAKE2b-256 | e768aaf3ce1bc8b747de591c4faaeb25089bbaf98c7393a1d27ea748423e8db3 |