buffalo_wings.airfoil.sample_airfoil_at_xi_result
- buffalo_wings.airfoil.sample_airfoil_at_xi_result(airfoil, *, lower, upper, warning_policy='warn')[source]
Sample both surfaces at explicit
xiwith diagnostics.- Parameters:
airfoil (
Airfoil) – Airfoil to sample.lower (
buffalo_core.typing.FloatInput) – Lower-surfacexivalues in[0, 1]ordered from leading edge to trailing edge.upper (
buffalo_core.typing.FloatInput) – Upper-surfacexivalues in[0, 1]ordered from leading edge to trailing edge.warning_policy (
{"warn", "ignore", "error", "diagnostics_only"},) – default=”warn” How to handle the standard slope-singularity advisory.
- Returns:
Typed sampling payload together with the structured diagnostics emitted while producing it.
- Return type:
OperationResult[AirfoilSurfaceSamples]