Skip to content

Commit

Permalink
added 0 value for end of time hist. graph
Browse files Browse the repository at this point in the history
  • Loading branch information
JBertholdt committed Feb 28, 2024
1 parent bad2e4e commit c53c941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions birdpressure/Timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ def find_force_history(self, f_peak, f_steady, release_wave_velocity):
"""
self.t_b = self.find_t_b(release_wave_velocity)

f_history = np.array([f_peak, f_peak,f_steady,f_steady])
t_history = np.array([0,self.t_b,self.t_b, self.t_D])
f_history = np.array([f_peak, f_peak,f_steady,f_steady,0])
t_history = np.array([0,self.t_b,self.t_b, self.t_D, self.t_D])

impulse_tot = f_peak * self.t_b + f_steady * (self.t_D-self.t_b)

Expand Down

0 comments on commit c53c941

Please sign in to comment.