mirror of
https://github.com/vale981/fibre_walk_project_code
synced 2025-03-04 09:21:38 -05:00
include theoretical mode frequencies
This commit is contained in:
parent
95562b074a
commit
77077c2560
1 changed files with 6 additions and 1 deletions
|
@ -279,7 +279,12 @@ def annotate_ringodown_mode_positions(params: Params, ax):
|
|||
ax_ticks = ax.twiny()
|
||||
ax_ticks.sharey(ax)
|
||||
ax_ticks.set_xticks(runtime.ringdown_frequencies)
|
||||
ax_ticks.set_xticklabels([mode_name(i, params.N) for i in range(2 * params.N + 2)])
|
||||
ax_ticks.set_xticklabels(
|
||||
[
|
||||
f"{mode_name(i, params.N)} = {freq:.2f}"
|
||||
for i, freq in enumerate(runtime.ringdown_frequencies)
|
||||
]
|
||||
)
|
||||
ax_ticks.set_xlim(ax.get_xlim())
|
||||
|
||||
for pos, peak_freq in zip(runtime.ringdown_frequencies, runtime.Ωs):
|
||||
|
|
Loading…
Add table
Reference in a new issue