Skip to content

Commit

Permalink
MNT: clearly specify the rocket mass in utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR authored Oct 4, 2023
1 parent e477a8e commit d569dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rocketpy/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def apogee(mass):
source = np.array(list(zip(x, y)), dtype=np.float64)

retfunc = Function(
source, inputs="Rocket Dry Mass (kg)", outputs="Estimated Apogee AGL (m)"
source, inputs="Rocket Mass without motor (kg)", outputs="Apogee AGL (m)"
)
if plot:
retfunc.plot(min_mass, max_mass, points)
Expand Down Expand Up @@ -636,7 +636,7 @@ def liftoff_speed(mass):
source = np.array(list(zip(x, y)), dtype=np.float64)

retfunc = Function(
source, inputs="Rocket Dry Mass (kg)", outputs="Liftoff Speed (m/s)"
source, inputs="Rocket Mass without motor (kg)", outputs="Out of Rail Speed (m/s)"
)
if plot:
retfunc.plot(min_mass, max_mass, points)
Expand Down

0 comments on commit d569dc7

Please sign in to comment.