Skip to main content

ThreeDViewer is a plotting tool for visualizing 3D scalar and vector fields in python.

Installation

ThreeDViewer can be installed through pip:

(.venv) $ pip install ThreeDViewer

Documentation

Comprehensive documentation is available online at readthedocs.

Quickstart

To view a 3D scalar, vector or orientation field and slice all axes interactively, use

ThreeDViewer.plot_3d(scalar_field)

For vector and orientation fields, each pixel will have a hue according to the vector’s direction and a lightness depending on the into-the-plane (bright) and out-of-plane (dark) components. This color adjusts according to the viewing axis, but can be kept constant across different axes by setting the argument const_color to True.

An example vector field is included in the package and the resulting plots are shown below

Middle slice along the z-axis of a magnetic cylinder with a vortex topology that points into the plane Middle slice along the y-axis of

Release files for ThreeDViewer 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ThreeDViewer 0.2.1
File Size Uploaded
threedviewer-0.2.1.tar.gz 594.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ThreeDViewer 0.2.1
File Interpreter ABI Platform
threedviewer-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / threedviewer-0.2.1.tar.gz

Download URL threedviewer-0.2.1.tar.gz
Size 594.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0be0d9bef0ace010aabbbae1e8b08c8bdfb7882bc5b76d21e1c69850a5df1e1e
BLAKE2b-256 checksum
How to use checksums
7bdf5da7c0ae87b016c996dbcbf7558a45b25c6edf7447863c21c184d4a137e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 5, 2025.

Transparency log

Release files / threedviewer-0.2.1-py3-none-any.whl

Download URL threedviewer-0.2.1-py3-none-any.whl
Size 595.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa58d316fa0fd97239f0b08a26456e389a982becd08d412aa493429f8517b122
BLAKE2b-256 checksum
How to use checksums
ada60f55344a91d04ab15b65692940062d3b7165bac8b103a3e7c6a9cff2b276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 5, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page