@@ -287,21 +287,21 @@ def compute_velocity_profile(points, plot=True):
287287
288288 a = dv / dt
289289
290- plot_x_y (axs [0 , 0 ], t , v_profile , "t" , "v" )
291- plot_x_y (axs [1 , 0 ], t [:- 1 ], a , "t" , "a" )
292- # plot_x_y(axs[1, 1], t, forward_vs, "t", "forward & backward vs")
293- # plot_x_y(axs[1, 1], t, backward_vs, "t", "forward & backward vs")
294- plot_x_y (axs [0 , 1 ], t , kappa , "t" , "kappa" )
290+ # plot_x_y(axs[0, 0], t, v_profile, "t", "v")
291+ # plot_x_y(axs[1, 0], t[:-1], a, "t", "a")
292+ # # plot_x_y(axs[1, 1], t, forward_vs, "t", "forward & backward vs")
293+ # # plot_x_y(axs[1, 1], t, backward_vs, "t", "forward & backward vs")
294+ # plot_x_y(axs[0, 1], t, kappa, "t", "kappa")
295295
296- plot_speed_profile_gradient (fig , axs [1 , 1 ], xs , ys , v_profile )
296+ # plot_speed_profile_gradient(fig, axs[1, 1], xs, ys, v_profile)
297297
298- # # Save to CSV
299- # df = pd.DataFrame({'x': xs, 'y': ys, 'v': v_profile, 't': t})
300- # df.to_csv('v_profile.csv', index=False)
298+ # # # Save to CSV
299+ # # df = pd.DataFrame({'x': xs, 'y': ys, 'v': v_profile, 't': t})
300+ # # df.to_csv('v_profile.csv', index=False)
301301
302302
303- plt .tight_layout ()
304- plt .show ()
303+ # plt.tight_layout()
304+ # plt.show()
305305
306306 return t , v_profile
307307
0 commit comments