gstlal-inspiral  1.9.2
 All Classes Namespaces Files Functions
Functions
plots.snr Namespace Reference

Functions

def plot_snr
 
def plot_snr_with_ac
 

Detailed Description

Plotting SNR from LIGO light-weight XML file

Function Documentation

def plots.snr.plot_snr (   SNR_dict,
  width = 8,
  center = None,
  span = None,
  verbose = False 
)
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.

Definition at line 25 of file snr.py.

def plots.snr.plot_snr_with_ac (   SNR_dict,
  autocorrelation_dict,
  width = 8,
  ref_trigger_time = None,
  verbose = False 
)
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.

Definition at line 51 of file snr.py.