triggers_single_detector_HM.TriggerList.plot_bestfit_waveform#
Back to Class page
Summary#
Plot waveforms in trigger(s) against the data
Signature#
def plot_bestfit_waveform(self, triggers, wfs_wt_cos_td = None, plot_injection = False, labels = None, ax = None, ref_time = None, individual_modes = False, physical_mode_ratio = False, data_plot_kwargs = {}, wf_plot_kwargs = {})
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Processedclists of triggers to plot (can be row if n_trigs = 1) |
||
|
None |
If known, array with cosine waveforms in rows (will infer from the bank otherwise) |
|
|
False |
Flag whether to plot the injected waveform |
|
|
None |
If known, labels to add to the plot |
|
|
None |
If known, axis to plot into |
|
|
None |
||
|
False |
||
|
False |
||
|
{} |
||
|
{} |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Axis that was plotted into, if none was passed in |
Docstring#
Plot waveforms in trigger(s) against the data
:param triggers:
Processedclists of triggers to plot (can be row if n_trigs = 1)
:param wfs_wt_cos_td:
If known, array with cosine waveforms in rows
(will infer from the bank otherwise)
:param plot_injection: Flag whether to plot the injected waveform
:param labels: If known, labels to add to the plot
:param ax: If known, axis to plot into
:return: Axis that was plotted into, if none was passed in