Skip to content

Commit 1fa8de1

Browse files
authored
Merge pull request #424 from RocketPy-Team/docs/utilities-functions-labels
MNT: clearly specify the rocket mass in utilities
2 parents e477a8e + 69d8b35 commit 1fa8de1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rocketpy/utilities.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def apogee(mass):
572572
source = np.array(list(zip(x, y)), dtype=np.float64)
573573

574574
retfunc = Function(
575-
source, inputs="Rocket Dry Mass (kg)", outputs="Estimated Apogee AGL (m)"
575+
source, inputs="Rocket Mass without motor (kg)", outputs="Apogee AGL (m)"
576576
)
577577
if plot:
578578
retfunc.plot(min_mass, max_mass, points)
@@ -636,7 +636,9 @@ def liftoff_speed(mass):
636636
source = np.array(list(zip(x, y)), dtype=np.float64)
637637

638638
retfunc = Function(
639-
source, inputs="Rocket Dry Mass (kg)", outputs="Liftoff Speed (m/s)"
639+
source,
640+
inputs="Rocket Mass without motor (kg)",
641+
outputs="Out of Rail Speed (m/s)",
640642
)
641643
if plot:
642644
retfunc.plot(min_mass, max_mass, points)

0 commit comments

Comments
 (0)