weac.parser.utils.plump_to_slope_normal module

Convert field-profile depths to WEAC slope-normal thicknesses.

weac.parser.utils.plump_to_slope_normal.plumb_to_slope_normal(phi_deg)[source]

Scale vertical (plumb) depth/thickness to distance along slope normal.

Field profiles typically report depths from the surface along the vertical. WEAC slab layer thicknesses are measured normal to the slope. The plumb-line depth d_v is converted to slope-normal depth d_n by d_n = d_v * cos(phi), where phi is the slope angle from horizontal.

Parameters:

phi_deg (float)

Return type:

float