ThreeDViewer.image#

Functions

axial_align

Aligns the components of an orientation field such that a singular direction (index) is always positive.

plot_3d

Plots a 3D scalar or vector field, with the possibility to slice along different axes.

plot_quiver

Plots vectors using complex color and adds a quiver overlay for clarity.

vector_color

Converts a 3D or 2D array of 3 components into a complex number, which can then be plotted using complex domain coloring.