Skip to main content

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 slice_viz

import qim3d

img = qim3d.examples.fly_150x256x256

# By default shows the middle slice
qim3d.viz.slice_viz(img)

# Or we can specifly positions
qim3d.viz.slice_viz(img, position=[0,32,128])

# Parameters for size and colormap are also possible
qim3d.viz.slice_viz(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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qim3d-0.3.0.tar.gz (14.9 MB view details)

Uploaded Source

Built Distribution

qim3d-0.3.0-py3-none-any.whl (15.0 MB view details)

Uploaded Python 3

File details

Details for the file qim3d-0.3.0.tar.gz.

File metadata

  • Download URL: qim3d-0.3.0.tar.gz
  • Upload date:
  • Size: 14.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for qim3d-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6e75a303eacf6141161a1c1502be988ab3651e85e8c96065a2243a370ff5bf26
MD5 6aec6b28d9273d8f2450e7032f70ae99
BLAKE2b-256 9ba9f1a2b4e4c7403bc84bf1e6e6eb0ea22a6d98fe69c14d4d744d959e2108c2

See more details on using hashes here.

File details

Details for the file qim3d-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: qim3d-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for qim3d-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e44a1dbb9c6851dbdc22ef6dd072ac33d575dfd73f5cedf6ac7e293dcd9d7cc
MD5 2f3c75b76b8e50ec43cef75f19f0aad3
BLAKE2b-256 8e5b9efb02228b1b04d114b03efdc57a983beaf0fbee8d0e7b4f3709f8540113

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