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.9.tar.gz (12.9 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.9-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: particle_pack_tools-0.0.9.tar.gz
  • Upload date:
  • Size: 12.9 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.9.tar.gz
Algorithm Hash digest
SHA256 47a2c806ed1032a967e92c91e174ae684dc1e183e6b0e9c10561207ede4549e2
MD5 ee495bcdd4bcbe124a31e808ed5e834b
BLAKE2b-256 ea57c28b9a609c299a0209e621fbcd26b90a8afa20bffb0433468ed09e51ffef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for particle_pack_tools-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 79d784ea5632df82ff1b90c192069213094c8e7167c4cf255620ef00d035fc6e
MD5 2d3ad7572809963522a60550d1063c4c
BLAKE2b-256 cd5eada5592da385422c8d6d818cfb902f95367f25aa8369a398334066651536

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