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

Uploaded Python 3

File details

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

File metadata

  • Download URL: particle_pack_tools-0.0.15.tar.gz
  • Upload date:
  • Size: 14.8 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.15.tar.gz
Algorithm Hash digest
SHA256 c7764b45e578e89fc945a19f48b610b8a8cf69a9fbcc24c0a7540789226dc458
MD5 831226fb43df530fd80f3f74196ff0a6
BLAKE2b-256 4c9f461c81f9c6c47a5df66b6e192612796d8a68ae7d0149e3ae166acad39481

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for particle_pack_tools-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 7321f69ecfdc4930f3d39746b093a7eb228502d795fc07f878d6bd755db44f7f
MD5 79712196ccd06712ec19238214e15fa6
BLAKE2b-256 f6a3cb6f5b5e50c58220d4a828e19b99973363511fa94f3d1c5e9843b7d12a61

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