Skip to main content

Vector field visualization and eigenanalysis for 2x2 and 3x3 matrices using Plotly.

Project description

vectorfieldviz

Visualization toolkit for linear vector fields defined by 2×2 and 3×3 matrices, with eigenanalysis utilities. Built on NumPy and Plotly.

Installation

pip install vectorfieldviz

Source = https://gitlab.com/algebra-done-visually/vectorfieldviz

2D


import numpy as np
from vectorfieldviz import plot_2d_vector_field, compute_eigendecomposition, plot_3d_vector_field

A = np.array([[0.0, 1.0, 1.0],
              [1.0, 1.0, 1.0],
              [1.0, 0.0, 0.0]])

fig = plot_3d_vector_field(A)

fig.show()

2D - Vector Field

3D

import numpy as np
from vectorfieldviz import plot_2d_vector_field, compute_eigendecomposition, plot_3d_vector_field

A = np.array([[0.0, 1.0, 1.0],
              [1.0, 1.0, 1.0],
              [1.0, 0.0, 0.0]])

fig = plot_3d_vector_field(A)

fig.show()

3D - Vector Field

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

vectorfieldviz-3.1.4.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vectorfieldviz-3.1.4-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file vectorfieldviz-3.1.4.tar.gz.

File metadata

  • Download URL: vectorfieldviz-3.1.4.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for vectorfieldviz-3.1.4.tar.gz
Algorithm Hash digest
SHA256 137d5f2844bf0196f697b474df3d9dbe2b02fbfb1fdb28b2f596ebfe93c5ccc3
MD5 f78997a7ede7e8e4d2c357e2ee349dc2
BLAKE2b-256 178225dbb0fd8cf4d16334333f1553202f00b7d0d0f67e9e257aae8b5cfb4e35

See more details on using hashes here.

File details

Details for the file vectorfieldviz-3.1.4-py3-none-any.whl.

File metadata

  • Download URL: vectorfieldviz-3.1.4-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for vectorfieldviz-3.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f1c86ab94e6809a40667f9e86cec111eaae2321c35001739531be292ec328c2
MD5 a670f88b7a8bea60d01bdfabeb294383
BLAKE2b-256 35deeb111e94c8d7d8553dc345605e6cab884f6afc32778847ee24159efe4218

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