Skip to main content

Module bc_conversion

Module bc_conversion 

Source
Expand description

Ballistic-coefficient conversion between standard reference drag families (MBA-1375).

A reference-family BC appears in the point-mass retardation as Cd_ref(Mach) / BC. Consequently, conversion at one Mach is an exact table-ratio operation, while fitting one scalar BC across velocity bands is a one-parameter least-squares problem in reciprocal BC. This module owns that shared, filesystem-free math so native and WASM front ends cannot drift.

Structs§

BandedBcConversionV1
A velocity-banded conversion into one requested target family.
BcFamilyFitV1
One candidate family’s best single scalar BC over a source band schedule.
BcFamilyRecommendationV1
Ranking of candidate families by their one-scalar fit to a source band schedule.
BcSegmentAnalysisV1
One banded operation’s requested conversion and family recommendation.
BcSegmentConversionV1
One input BCSegmentData band converted to a constant BC in another family.
ScalarBcConversionV1
Exact conversion of one scalar BC at one Mach number.

Enums§

BcConversionError
Why a BC conversion or family fit was rejected.
BcConversionFormat
The canonical output forms shared by native and WASM front ends.
BcConversionReportV1
Type-erased report accepted by the shared renderer.

Constants§

BC_CONVERSION_SCHEMA_VERSION_V1
Schema version carried by every serializable conversion report.
MIN_BC_CONVERSION_TABLE_POINTS
A conversion curve must contain more than the legacy six-row placeholder decks.

Functions§

analyze_bc_segments
Perform the requested band conversion and candidate-family recommendation in one call.
convert_bc_at_mach
Convert one scalar BC at a stated Mach number.
convert_bc_at_velocity
Convert one scalar BC at a stated velocity and speed of sound, both in ft/s.
convert_bc_segments
Convert every source band to a constant target-family BC over the same velocity bounds.
fit_bc_family
Fit one scalar BC in candidate across all supplied source-family BC bands.
format_bc_conversion_report
Render a report in canonical ft/s units, identically for native and WASM callers.
recommend_bc_family
Rank candidate families by one-scalar relative-retardation least-squares residual.

Type Aliases§

BcBandedAnalysisV1
Backward-compatible descriptive alias for BcSegmentAnalysisV1.