From 39003cd5552e4d2629827f24300a75234f7efbe9 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 18 Apr 2024 20:59:21 -0400 Subject: [PATCH] MNT: rename __transform_pressure_signals_lists_to_functions method --- rocketpy/simulation/flight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocketpy/simulation/flight.py b/rocketpy/simulation/flight.py index cf479b22d..97cc885fb 100644 --- a/rocketpy/simulation/flight.py +++ b/rocketpy/simulation/flight.py @@ -1038,7 +1038,7 @@ def __simulate(self, verbose): ) self.t_final = self.t - self._calculate_pressure_signal() + self.__transform_pressure_signals_lists_to_functions() if verbose: print(f"\n>>> Simulation Completed at Time: {self.t:3.4f} s") @@ -3059,7 +3059,7 @@ def __calculate_rail_button_forces(self): # TODO: complex method. rail_button2_shear_force, ) - def _calculate_pressure_signal(self): + def __transform_pressure_signals_lists_to_functions(self): """Calculate the pressure signal from the pressure sensor. It creates a signal_function attribute in the parachute object. Parachute works as a subclass of Rocket class.