obspy.signal.spectral_estimation.PPSD.plot

PPSD.plot(filename=None, show_coverage=True, show_histogram=True, show_percentiles=False, percentiles=[0, 25, 50, 75, 100], show_noise_models=True, grid=True, show=True, max_percentage=30, period_lim=(0.01, 179))[source]

Plot the 2D histogram of the current PPSD. If a filename is specified the plot is saved to this file, otherwise a plot window is shown.

Parameters:
  • filename (str (optional)) Name of output file
  • show_coverage (bool (optional)) Enable/disable second axes with representation of data coverage time intervals.
  • show_percentiles (bool (optional)) Enable/disable plotting of approximated percentiles. These are calculated from the binned histogram and are not the exact percentiles.
  • percentiles (list of ints) percentiles to show if plotting of percentiles is selected.
  • show_noise_models (bool (optional)) Enable/disable plotting of noise models.
  • grid (bool (optional)) Enable/disable grid in histogram plot.
  • show (bool (optional)) Enable/disable immediately showing the plot.
  • max_percentage (float (optional)) Maximum percentage to adjust the colormap.
  • period_lim (tuple of 2 floats (optional)) Period limits to show in histogram.

This Page