phys2cvr.viz.plot_two_timeseries¶
- phys2cvr.viz.plot_two_timeseries(ts1, ts2, outname, ts1_name=None, ts2_name=None, freq=None, zscore=False)[source]¶
Plot two timeseries.
- Parameters:
- ts1np.ndarray-like
First timeseries to be plotted.
- ts2np.ndarray-like
Second tiemseries to be plotted.
- outname
strorpath Filename (and path to) to save the image.
- ts1_name
strorNone, optional Name of the first timeseries, for legend and title.
- ts2_name
strorNone, optional Name of the second timeseries, for legend and title.
- freq
None, optional Frequency of Xcorr samples. If specified, it’s used to plot against time.
- zscore
bool, optional If True, zscore timeseries before plot. Default is False.