Tool for visualising 3D vector and scalar fields
Project description
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
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
Built Distribution
File details
Details for the file threedviewer-0.2.1.tar.gz
.
File metadata
- Download URL: threedviewer-0.2.1.tar.gz
- Upload date:
- Size: 594.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0be0d9bef0ace010aabbbae1e8b08c8bdfb7882bc5b76d21e1c69850a5df1e1e
|
|
MD5 |
b12455674f5ce1f67e66f6d9dc8cf0af
|
|
BLAKE2b-256 |
7bdf5da7c0ae87b016c996dbcbf7558a45b25c6edf7447863c21c184d4a137e3
|
Provenance
The following attestation bundles were made for threedviewer-0.2.1.tar.gz
:
Publisher:
release.yml
on apseros/ThreeDViewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
threedviewer-0.2.1.tar.gz
-
Subject digest:
0be0d9bef0ace010aabbbae1e8b08c8bdfb7882bc5b76d21e1c69850a5df1e1e
- Sigstore transparency entry: 192763274
- Sigstore integration time:
-
Permalink:
apseros/ThreeDViewer@2f89f46ac9dc68089af0a25d0ddafa04b78b5be8
-
Branch / Tag:
refs/tags/0.2.1
- Owner: https://github.com/apseros
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@2f89f46ac9dc68089af0a25d0ddafa04b78b5be8
-
Trigger Event:
push
-
Statement type:
File details
Details for the file threedviewer-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: threedviewer-0.2.1-py3-none-any.whl
- Upload date:
- Size: 595.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fa58d316fa0fd97239f0b08a26456e389a982becd08d412aa493429f8517b122
|
|
MD5 |
28b1a6474fec5db8209bcdc67a9c78c3
|
|
BLAKE2b-256 |
ada60f55344a91d04ab15b65692940062d3b7165bac8b103a3e7c6a9cff2b276
|
Provenance
The following attestation bundles were made for threedviewer-0.2.1-py3-none-any.whl
:
Publisher:
release.yml
on apseros/ThreeDViewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
threedviewer-0.2.1-py3-none-any.whl
-
Subject digest:
fa58d316fa0fd97239f0b08a26456e389a982becd08d412aa493429f8517b122
- Sigstore transparency entry: 192763283
- Sigstore integration time:
-
Permalink:
apseros/ThreeDViewer@2f89f46ac9dc68089af0a25d0ddafa04b78b5be8
-
Branch / Tag:
refs/tags/0.2.1
- Owner: https://github.com/apseros
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@2f89f46ac9dc68089af0a25d0ddafa04b78b5be8
-
Trigger Event:
push
-
Statement type: