plots.snr module

Plotting SNR from LIGO light-weight XML file

plots.snr.plot_snr(SNR_dict, width=8, center=None, span=None, verbose=False)[source]

Plot snr time series from SNR_dicts.

Args:

SNR_dict: A dictionary containing (instrument, LAL series) pairs. width (int): The width of the output figure in inch. center (float): The center gpstime of the plot. span (float): Seconds to span around center. verbose (bool, default=False): Be verbose.

Return:

fig (object): Matplotlib figure.

plots.snr.plot_snr_with_ac(SNR_dict, autocorrelation_dict, width=8, ref_trigger_time=None, verbose=False)[source]

Plot real part of the snr time series together with template autocorrelation.

Args:

SNR_dict (dict): A dictionary containing (instrument, LAL series) pairs. autocorrelation_dict (dict): A dictionary containing (instrument, numpy.array) pairs. width (int): The width of the output figure in inch. ref_trigger_time (float, default=None): The reference trigger time which it used to find the actual trigger time based on the time series. verbose (bool, default=False): Be verbose.

Return:

fig (object): Matplotlib figure.