pydrad visualize#

Methods for plotting and animating HYDRAD output

Functions#

animate_strand(strand, **kwargs)

Animate temperature, density, and pressure as a function of time and space.

plot_histogram(vals, bins[, ax])

Given a set of bin edges and the values in each bin, plot the histogram.

plot_profile(profile, **kwargs)

Plot hydrodynamic quantites at a single timestep

plot_strand(strand[, limits, cmap])

Plot hydrodynamic quantities at multiple timesteps

plot_time_distance(strand, quantities, ...)

Make a time-distance plot for a particular quantity or quantities on a uniform grid.

plot_time_mesh(strand, quantities, y_grid, ...)

Plot a given quantity as a function of some variable and time for a given strand.