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

Uploaded Python 3

File details

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

File metadata

  • Download URL: particle_pack_tools-0.0.6.tar.gz
  • Upload date:
  • Size: 12.8 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.6.tar.gz
Algorithm Hash digest
SHA256 c5a896947c72eddb11a26c19bc5fad3ddba1a7b5e2fdb8392e6308a08d91dbbb
MD5 e31690696f70195031dd72e13528b19d
BLAKE2b-256 2fca65ecbeb8848354630419cc3ae89f3a7addea8548092ea128ff6685194428

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for particle_pack_tools-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ab6ae5a19e6cc7c86db615bc27388a0b3dd9a34c60ce2b08f284b090798da62b
MD5 758fa5055974f4e3a167c8ab6cc58177
BLAKE2b-256 e268893c1b4ecf6401e96f130e31602a9f33d4ba670265cb52a9271b21cc0d8d

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