Flight Prints Class#

class rocketpy.prints.flight_prints._FlightPrints[source]#

Class that holds prints methods for Flight class.

Variables:

_FlightPrints.flight (Flight) – Flight object that will be used for the prints.

__init__(flight)[source]#

Initializes _FlightPrints class

Parameters:

flight (Flight) – Instance of the Flight class.

Return type:

None

initial_conditions()[source]#

Prints initial conditions data available about the flight, including position, velocity, attitude, euler angles, angular velocity, and stability margin.

Return type:

None

numerical_integration_settings()[source]#

Prints out the numerical integration settings available about the flight, this includes the maximum allowed flight time, maximum allowed time step, and other settings.

Return type:

None

surface_wind_conditions()[source]#

Prints out the Surface Wind Conditions for the flight.

Return type:

None

launch_rail_conditions()[source]#

Prints out the Launch Rail Conditions available about the flight, including the length, inclination, and heading of the launch rail.

Return type:

None

out_of_rail_conditions()[source]#

Prints out the Out of Rail Conditions available about the flight, including the time, velocity, stability margin, angle of attack, thrust to weight ratio, and Reynolds number.

Return type:

None

burn_out_conditions()[source]#

Prints out the Burn Out Conditions available about the flight, including the burn out time, altitude, speed, freestream speed, Mach number, and kinetic energy.

Return type:

None

apogee_conditions()[source]#

Prints out the Apogee Conditions available about the flight, including the apogee time, altitude, freestream speed, latitude, and longitude.

Return type:

None

events_registered()[source]#

Prints out the Events Registered available about the flight.

Return type:

None

impact_conditions()[source]#

Prints out the Impact Conditions available about the flight.

Return type:

None

maximum_values()[source]#

Prints out the Maximum Values available about the flight.

Return type:

None

stability_margin()[source]#

Prints out the stability margins of the flight at different times.

This method prints the following: Initial Stability Margin, Out of Rail Stability Margin, Maximum Stability Margin, and Minimum Stability Margin

Each stability margin is printed along with the time it occurred.

Notes

The stability margin is typically measured in calibers (c), where 1 caliber is the diameter of the rocket.

all()[source]#

Prints out all data available about the Flight. This method invokes all other print methods in the class.

Return type:

None