waveformtools.compare
Compare the waveforms and modes
Functions
|
Plot the fractional difference of the first nmodes dominant modes of the input waveforms. |
|
Plot the first nmodes dominant modes of the input waveforms |
- waveformtools.compare.plot_mode_differences(waveforms, nmodes=3, save_fig=False, xlabel='t/M', ylabel='r\\Psi_{4}^{(\\ell m)}', labels=None, xlim=[-1000, 100])[source]
Plot the fractional difference of the first nmodes dominant modes of the input waveforms.
- Parameters:
- waveformsmodes_array
The list of modes_array waveforms to plot.
- nmodesint
The number of modes to plot.
- tolfloat
The tolerance to detect the modes.
- Returns:
- Plots.
- waveformtools.compare.plot_modes(wf1, nmodes=3, save_fig=False, xlim=[-1200, 100], ylim='auto', nstop=1, plot22=False, figsize=(18, 12))[source]
Plot the first nmodes dominant modes of the input waveforms
- Parameters:
- wfmodes_array
The list of modes_array waveforms to plot.
- nmodesint
The number of modes to plot.
- xlimlist
[xmin, xmax] limits to plot.
- tolfloat
The tolerance to detect the modes.
- Returns:
- Plots