Skip to main content

Module warp

Module warp 

Source
Expand description

Warp scale velocity curve (OCS §12.2).

TOS: v = w³·c TNG: v = w^(10/3)·c for 1 ≤ w ≤ 9 TNG soft saturation: w^(10/3)·c·[1 + α·tan(π(w-9)/(2(10-9+ε)))] for 9 < w < 10

Reference: OCS Specification v2.2.0 §12.2.

Enums§

WarpScale
Warp scale variant (OCS §12.2).

Functions§

cochrane_units
Cochrane unit — field distortion metric (OCS §12.3). C = 1.0 at threshold c (warp 1).
warp_factor_c
Warp factor as multiple of c (dimensionless).
warp_velocity
Compute velocity (m/s) for a given warp factor (OCS §12.2).