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.3.tar.gz (10.4 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.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: particle_pack_tools-0.0.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for particle_pack_tools-0.0.3.tar.gz
Algorithm Hash digest
SHA256 085d1b90a133213a7c00e138da62aaebf2cdea7594a16ce5106e4c15ea208499
MD5 d2517bdfa29cad72746a81d9c72e282f
BLAKE2b-256 647a88c173789f2f904c1da9cde71de6cbe5dea54e794e246aa255e1411e1a06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for particle_pack_tools-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b834bed35032aacc92c25b33a318c28dcd270f8041d9bc0b2167ac7000d73e1
MD5 722b8e8219915f1a5f653c767a24871c
BLAKE2b-256 483614626e22ac367687009e7153ad0c46e3d836e7e5b31d4d34f5f735aeafda

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