buffalo_wings.airfoil.surface_samples_to_dict
- buffalo_wings.airfoil.surface_samples_to_dict(samples, *, include_parameters=True, include_derivatives=True)[source]
Convert one sampled airfoil surface to plain Python data.
- Parameters:
samples (
SurfaceSamples) – Sampled one-surface payload produced by the public sampling API.include_parameters (
bool, defaultTrue) – Whether to include the sampledxi, surface-local arc length, and native curve parameter vectors.include_derivatives (
bool, defaultTrue) – Whether to include slope, finite-slope flags, and curvature.
- Returns:
Export-friendly mapping containing only plain Python scalars, booleans, lists, and nested lists.
- Return type:
dict[str,object]