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

Uploaded Python 3

File details

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

File metadata

  • Download URL: particle_pack_tools-0.0.7.tar.gz
  • Upload date:
  • Size: 13.2 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.7.tar.gz
Algorithm Hash digest
SHA256 f336de04979cff41d23daf0ff246c39e2b88c5563929073292cce8dd34a2f4b0
MD5 c5bde8f2c770ed03c17060abbc99b86d
BLAKE2b-256 d236ccb375667fc67150d427271fb33b3eb7f58963396c72c87bb2893b380ade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for particle_pack_tools-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 86568b73628992315917c4e5227a69dcdc6e45fe46c8e2c0c1963f9802262c08
MD5 73d073ac5325016061d90d17f2d46d3e
BLAKE2b-256 833880a5ebad3f57b5ef5fe0c7623de2eacadcea07928b1ae941f1bfcd84b6a9

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