Modules.CurveBoxplot package
Submodules
Modules.CurveBoxplot.curve_boxplot module
- Modules.CurveBoxplot.curve_boxplot.curve_boxplot(curves, curve_depths=None, percentile=50, ax=None, color_map='viridis', median_color='red', alpha=1.0)[source]
Create a curve band depth plot using the provided curves and their depths.
Parameters:
- curvesnumpy.ndarray
3D array of shape (n_curves, n_steps, n_dims) containing curve data
- curve_depthsnumpy.ndarray
1D array of shape (n_curves,) containing the depth of each curve
- percentilefloat
The percentile for the band to be highlighted (default is 50)
- axmatplotlib.axes.Axes, optional
The axes to plot on (default is None, which creates a new figure)
- color_mapstr
The colormap to use for the mesh (default is ‘viridis’)
- median_colorstr
The color to use for the median curve (default is ‘red’)
- alphafloat
The transparency level for the mesh (default is 1.0)
Returns:
- axmatplotlib.axes.Axes
The axes with the plot.
Modules.CurveBoxplot.curve_boxplot_mesh module
- Modules.CurveBoxplot.curve_boxplot_mesh.curves_band_mesh(sorted_curves, percentile=50)[source]
Build a mesh for the curve band depth plot.
Parameters:
- sorted_curvesnumpy.ndarray
3D array of shape (n_curves, n_steps, n_dims) containing curve data sorted by depth (deepest first)
- percentilefloat, optional
Percentile for the band to be highlighted. Default is 50 (median band).
Returns:
- pointsnumpy.ndarray
2D array of shape (n_points, n_dims) containing the points of the mesh.
- trianglesnumpy.ndarray
2D array of shape (n_triangles, 3) containing the indices of the points forming the triangles.
Modules.CurveBoxplot.curve_boxplot_stats module
Modules.CurveBoxplot.cuve_boxplot_vis module
Module contents
Curve_Boxplot Module
This module provides curve-based boxplot functionality for uncertainty visualization.