From 2940138234bbfed76eb0f70d12204622a8076b30 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 7 Mar 2024 18:43:22 -0500 Subject: [PATCH] DOC: Add initial and out-of-rail stability margins to Flight class documentation --- rocketpy/simulation/flight.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rocketpy/simulation/flight.py b/rocketpy/simulation/flight.py index c642d1123..ff0ee1840 100644 --- a/rocketpy/simulation/flight.py +++ b/rocketpy/simulation/flight.py @@ -426,6 +426,10 @@ class Flight: Rocket's static margin during flight in calibers. Flight.stability_margin : Function Rocket's stability margin during flight, in calibers. + Flight.initial_stability_margin : float + Rocket's initial stability margin in calibers. + Flight.out_of_rail_stability_margin : float + Rocket's stability margin in calibers when it leaves the rail. Flight.stream_velocity_x : Function Freestream velocity x (East) component, in m/s, as a function of time. Can be called or accessed as array. @@ -2429,7 +2433,7 @@ def min_stability_margin(self): @property def initial_stability_margin(self): """Stability margin at time 0. - + Returns ------- float @@ -2439,7 +2443,7 @@ def initial_stability_margin(self): @property def out_of_rail_stability_margin(self): """Stability margin at the time the rocket leaves the rail. - + Returns ------- float