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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| threedviewer-0.2.1.tar.gz | 594.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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