weac.parser.plotting.smp_penetration_plot module

Extract-and-plot helper for SMPParser.

weac.parser.plotting.smp_penetration_plot.plot_smp_penetration_parser(parser, *, method='bin', density_method=None, layer_thickness_mm=None, gradient_threshold=12.0, **plot_kwargs)[source]

Extract from an SMP parser and plot the penetration-resistance debug view.

SMP depths are already slope-normal, so this does not accept slope_angle_deg and does not compress the depth axis.

Parameters:
  • parser (SMPParser)

  • method (Literal['bin', 'gradient'])

  • density_method (Literal['P2015', 'CR2020', 'K2020a', 'K2020b'] | None)

  • layer_thickness_mm (float | None)

  • gradient_threshold (float)

Return type:

Figure