This commit is contained in:
François Boulogne 2025-09-01 15:13:50 +02:00
parent 25b94a5540
commit 813d4d8f15
2 changed files with 4 additions and 3 deletions

View file

@ -1 +1 @@
__version__ = '0.1.15'
__version__ = '0.1.16'

View file

@ -123,9 +123,10 @@ def plot_filtered_modes(t, e, e_filtered, e_frequencies, e_time, n_modes):
ax[i+1, 0].set_title(f'Mode #{i+1} filtré ({e_frequencies[i]:.2f} Hz)')
ax[i+1, 0].set_xlabel('Temps (s)')
ax[i+1, 0].set_ylabel('Amplitude')
ax[i+1, 1].plot(e_time, e, color='red')
ax[i+1, 1].plot(e_time, e_filtered[i])
ax[i+1, 1].plot(e_time, e)
ax[i+1, 1].set_xlim(left=0.5 * e_time.mean(), right=0.5*e_time.mean() + 10/e_frequencies[i])
plt.tight_layout()
plt.show()