Index tests¶
- class groundhog.siteinvestigation.labtesting.indextests.PlasticityChart(plot_height=500, plot_width=800, plot_title=None)[source]¶
Class for plasticity chart
- __init__(plot_height=500, plot_width=800, plot_title=None)[source]¶
Initiates a plasticity chart :param plot_height: Height of the plot in pixels :param plot_width: Width of the plot in pixels :param plot_title: Title of the plot
- add_trace(ll, pi, name, **kwargs)[source]¶
Adds a trace to the plot. By default, markers are added but optional keyword arguments can be added for go.Scatter as
**kwargs
:param ll: Array with the Liquid Limit values (in percent) :param pi: Array with the Plasticity Index values (in percent) :param name: Name for the trace (LaTeX allowed, e.g.r'$ lpha $'
) :param kwargs: Optional keyword arguments for thego.Scatter
constructor :return: Adds the trace to the specified panel
- class groundhog.siteinvestigation.labtesting.indextests.PSDChart(plot_title=None, marginsettings={'b': 100, 'l': 0, 'pad': 0, 'r': 0, 't': 100}, legendsettings={'x': 0.1, 'y': 0.9})[source]¶
Class for plotting of grain size distribution data
- __init__(plot_title=None, marginsettings={'b': 100, 'l': 0, 'pad': 0, 'r': 0, 't': 100}, legendsettings={'x': 0.1, 'y': 0.9})[source]¶
Initiates a particle size distribution chart :param plot_height: Height of the plot in pixels :param plot_width: Width of the plot in pixels :param plot_title: Title of the plot
- add_trace(grainsize, pctpassing, name, **kwargs)[source]¶
Adds a trace to the plot. By default, lines are added but optional keyword arguments can be added for go.Scatter as
**kwargs
:param grainsize: Array with the grain sizes (in mm) :param pctpassing: Array with the percentages passing each sieze opening size (in percent) :param name: Name for the trace (LaTeX allowed, e.g.r'$ lpha $'
) :param kwargs: Optional keyword arguments for thego.Scatter
constructor :return: Adds the trace to the specified panel