Skip to main content

A toolkit for processing and visualizing particle pack data.

Project description

Particle Pack Tools

Installation

To install the package, run:

pip install particle-pack-tools

Usage

Dataset I/O

Load particle pack datasets using:

from pptools.io import load_nc, load_nc_arr

Dataset Preprocessing

Preprocess particle pack datasets with:

from pptools.preprocess import crop_3d
# ...additional preprocessing functions...

Dataset Visualization

Visualize particle pack datasets using the Visualizer class:

from pptools.visualize import Visualizer

# Initialize the visualizer
vis = Visualizer()

# Plot a tomogram
vis.plot_tomo(tomo_img)
vis.show()

# Plot a multi-label mask
vis.plot_mask(mask_img)
vis.show()

Feel free to report any issues or share suggestions to help improve this toolkit.

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

particle_pack_tools-0.0.13.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

particle_pack_tools-0.0.13-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file particle_pack_tools-0.0.13.tar.gz.

File metadata

  • Download URL: particle_pack_tools-0.0.13.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for particle_pack_tools-0.0.13.tar.gz
Algorithm Hash digest
SHA256 21490d8de16e6ac69a10aa38efc3d5ea7d2561df3d04b3f45f61ad3cd6fa4b2d
MD5 9d168f02d5dae60e6df1aca00aa0fea8
BLAKE2b-256 0db8f5a65a181d036c9f6f0b8b662951fe9d4c65e2404803434b4284d2f17948

See more details on using hashes here.

File details

Details for the file particle_pack_tools-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for particle_pack_tools-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 8ff182af6c9402645a764ff1c9ea8638eb699a4b59a58ad4ecd612a2b3811103
MD5 7a8691b4609f412294b94f80ef2189f5
BLAKE2b-256 d338a6963df8efa1e35cdb5c6d6564f2fc6a28f990b48f6815ced3be5e28f1bd

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