pttools.analysis.plot_entropy_grid
Utilities for plotting the entropy and related quantities of bubbles as contour plots
Classes
- class pttools.analysis.plot_entropy_grid.DeltaEntropyPlot(grid, w1, w2, w_ref, title, fig=None, ax=None)
Bases:
VwAlphaPlotPlot the relative difference of two entropy values as a contour plot
- class pttools.analysis.plot_entropy_grid.DurationPlot(grid, fig=None, ax=None)
Bases:
VwAlphaPlotPlot the time it took to simulate each bubble
- Parameters:
grid (BubbleGridVWAlpha)
fig (Figure)
ax (Axes)
- class pttools.analysis.plot_entropy_grid.EntropyConservationPlot(grid, diff, fig=None, ax=None)
Bases:
VwAlphaPlotPlot the entropy generation at the wall
- Parameters:
grid (BubbleGridVWAlpha)
diff (ndarray)
fig (Figure)
ax (Axes)
- class pttools.analysis.plot_entropy_grid.EntropyPlot(grid, entropy, min_level, max_level, diff_level, fig=None, ax=None)
Bases:
VwAlphaPlotPlot the entropy of bubbles as a contour plot
- Parameters:
grid (BubbleGridVWAlpha)
entropy (ndarray)
min_level (float)
max_level (float)
diff_level (float)
fig (Figure)
ax (Axes)
- class pttools.analysis.plot_entropy_grid.GieseApproximationPlot(grid, diff, fig=None, ax=None)
Bases:
VwAlphaPlotPlot the Giese approximation vs. simulated value for \( rac{ ilde{v}_+}{ ilde{v}_-}\)
- Parameters:
grid (BubbleGridVWAlpha)
diff (ndarray)
fig (Figure)
ax (Axes)
- class pttools.analysis.plot_entropy_grid.KappaOmegaSumPlot(grid, fig=None, ax=None)
Bases:
VwAlphaPlotPlot \(\kappa\) + \(\omega\) of bubbles as a contour plot
- Parameters:
grid (BubbleGridVWAlpha)
fig (Figure)
ax (Axes)
Functions
- pttools.analysis.plot_entropy_grid.compute(bubble)
Compute the entropy quantities of a bubble
- Parameters:
bubble (Bubble)
- pttools.analysis.plot_entropy_grid.gen_and_plot_entropy(models, v_walls, alpha_ns, min_level, max_level, diff_level, use_bag_solver=False, path=None, single_plot=False)
Generate the entropy plots
- pttools.analysis.plot_entropy_grid.plot_entropy_data(data, v_walls, alpha_ns, min_level, max_level, diff_level, fig=None, ax=None)
Plot entrpy data that is not from a BubbleGridVWAlpha object.