pyvisual#
pyvisual — 3D solar-physics visualization for MHD datasets.
pyvisual is developed and maintained by Predictive Science Inc. (PSI) and provides an interactive 3D visualization layer
for solar and magnetohydrodynamic (MHD) model output. It wraps
pyvista.Plotter with spherical-coordinate awareness, observer controls,
and rendering utilities tuned to the PSI data ecosystem (psi-io, mapflpy).
Quick start#
>>> from pyvisual import Plot3d
>>>
>>> plotter = Plot3d()
>>> plotter.add_sun()
>>> plotter.show()
Sub-packages#
pyvisual.coreThe
Plot3dplotter, mesh classes (SphericalMesh,CartesianMesh), mixin classes, parsers, constants, type aliases, and styling defaults.pyvisual.utilsCoordinate-transform geometry utilities (
geometry), pooch-based asset fetching (data), and miscellaneous helpers (helpers).
See Also#
- PSI data conventions
Documentation for the HDF file format and coordinate conventions used by PSI model output.
- mapflpy
Fieldline tracing library that integrates with pyvisual.
Subpackages