Package pylal :: Module plotdata
[hide private]
[frames] | no frames]

Module plotdata

source code

This module provides some wrapper functions for plotting TimeSeries and FrequencySeries using classes defined in pylal.plotutils.


Version: 8cbd1b7187ce3ed9a825d6ed11cc432f3cfde9a5

Date: 2017-12-05 15:29:36 +0000

Author: Duncan M. Macleod <duncan.macleod@ligo.org>

Functions [hide private]
 
plottimeseries(series, outfile, t0=0, zeroline=False, **kwargs)
Plot a REALXTimeSeries.
source code
 
plotfrequencyseries(series, outfile, **kwargs)
Plot a (swig)LAL FrequencySeries.
source code
 
plotspectrogram(sequencelist, outfile, epoch=0, deltaT=1, f0=0, deltaF=1, t0=0, ydata=None, **kwargs)
Plots a list of REAL?VectorSequences on a time-frequency-amplitude colour map.
source code
 
loginterpolate(sequence, y0, deltaY, N=None)
Interpolate a REAL?VectorSequence into logarithmic spacing in the second dimension (y-axis, or frequency).
source code
 
plothistogram(serieslist, outfile, nonzero=False, num_bins=100, cumulative=False, bar=False, **kwargs)
Plots a line histogram of the data contained in the series, or list of series'.
source code
Function Details [hide private]

plotspectrogram(sequencelist, outfile, epoch=0, deltaT=1, f0=0, deltaF=1, t0=0, ydata=None, **kwargs)

source code 

Plots a list of REAL?VectorSequences on a time-frequency-amplitude colour map. The epochand deltaT arguments define the spacing in the x direction for the given VectorSequence, and similarly f0 and deltaF in the y-direction. If a list of VectorSequences is given, any of these arguments can be in list form, one for each sequence.

ydata can be given as to explicitly define the frequencies at which the sequences are sampled.