Flight Plots Class#

class rocketpy.plots.flight_plots._FlightPlots[source]#

Class that holds plot methods for Flight class.

Variables:
  • _FlightPlots.flight (Flight) – Flight object that will be used for the plots.

  • _FlightPlots.first_event_time (float) – Time of first event.

  • _FlightPlots.first_event_time_index (int) – Time index of first event.

__init__(flight)[source]#

Initializes _FlightPlots class.

Parameters:

flight (Flight) – Instance of the Flight class

Return type:

None

property first_event_time#

Time of the first flight event.

property first_event_time_index#

Time index of the first flight event.

trajectory_3d()[source]#

Plot a 3D graph of the trajectory

Return type:

None

linear_kinematics_data()[source]#

Prints out all Kinematics graphs available about the Flight

Return type:

None

attitude_data()[source]#

Prints out all Angular position graphs available about the Flight

Return type:

None

flight_path_angle_data()[source]#

Prints out Flight path and Rocket Attitude angle graphs available about the Flight

Return type:

None

angular_kinematics_data()[source]#

Prints out all Angular velocity and acceleration graphs available about the Flight

Return type:

None

rail_buttons_forces()[source]#

Prints out all Rail Buttons Forces graphs available about the Flight.

Return type:

None

aerodynamic_forces()[source]#

Prints out all Forces and Moments graphs available about the Flight

Return type:

None

energy_data()[source]#

Prints out all Energy components graphs available about the Flight

Return type:

None

fluid_mechanics_data()[source]#

Prints out a summary of the Fluid Mechanics graphs available about the Flight

Return type:

None

stability_and_control_data()[source]#

Prints out Rocket Stability and Control parameters graphs available about the Flight

Return type:

None

pressure_rocket_altitude()[source]#

Plots out pressure at rocket’s altitude.

Return type:

None

pressure_signals()[source]#

Plots out all Parachute Trigger Pressure Signals. This function can be called also for plot pressure data for flights without Parachutes, in this case the Pressure Signals will be simply the pressure provided by the atmosphericModel, at Flight z positions. This means that no noise will be considered if at least one parachute has not been added.

This function aims to help the engineer to visually check if there are anomalies with the Flight Simulation.

Return type:

None

all()[source]#

Prints out all plots available about the Flight.

Return type:

None