Analysis

Utilities for plotting and analysing data generated by PTtools

pttools.analysis:

bubble_grid

Holders for a grid of Bubbles of various parameter combinations.

colormap

Utilities for color maps

entropy

Utilities for computing the entropy of a bubble

g_cs2

Plot $g_text{eff}$ and $c_s^2$

parallel

Utilities for parallel simulation of bubbles

plot_bubble(bubble[, fig, path])

Plot the velocity and enthalpy profiles of a bubble

plot_bubbles

Utilities for plotting multiple bubbles

plot_chapman_jouguet

Plot Chapman-Jouguet speed

plot_delta_theta

Plot $Delta theta ({w}_+, {w}_-)$

plot_entropy(bubbles, colors[, fig])

plot_entropy_grid

Utilities for plotting the entropy and related quantities of bubbles as contour plots

plot_fluid_shell_3d

Plot $(v,w,xi)$ for fluid shells

plot_fluid_shell_bag(v_wall, alpha_n[, ...])

Calls pttools.bubble.fluid.fluid_shell() and plots resulting $v, w$ against $xi$.

plot_fluid_shells_bag(v_wall_list, alpha_n_list)

Calls pttools.bubble.fluid.fluid_shell() and plots resulting v, w against xi.

plot_model

Plot thermodynamic quantities for a model

plot_models

Compare the thermodynamic quantities of multiple models

plot_plotly

Base class for plotting with Plotly

plot_spectra(spectra[, fig, path])

Plot multiple types of spectra

plot_spectrum(spectrum[, fig, ax, path])

plot_thermomodels

Compare the properties of multiple thermodynamic models

plot_vw_alpha

A plot with $v_text{wall}$ on the x-axis and $alpha_n$ on the y-axis.

plot_xiv_plane

A plot of the $xi-v$ plane

utils

Utilities for plotting and analysing data