Skip to content

Commit

Permalink
MNT: Remove duplicated altitude method from Flight class
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Jan 26, 2024
1 parent aad48bd commit 2a1ab07
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rocketpy/simulation/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -2078,11 +2078,6 @@ def w3(self):
"""Rocket angular velocity ω3 as a Function of time."""
return self.solution_array[:, [0, 13]]

@funcify_method("Time (s)", "Altitude (m)", "spline", "zero")
def altitude(self):
"""Rocket altitude Above Ground Level (AGL) as a Function of time."""
return self.z - self.env.elevation

# Process second type of outputs - accelerations components
@funcify_method("Time (s)", "Ax (m/s²)", "spline", "zero")
def ax(self):
Expand Down

0 comments on commit 2a1ab07

Please sign in to comment.