split ( '.' )) for sp in _spec_st ) for specid in specids : network, station, location = specid. ignore ) else : _spec_st = spec_st specids = set ( '.'. plot_spectra_ignored : _spec_st = Stream ( sp for sp in spec_st if not sp. ax0 = None def _set_plot_params ( config, spec_st, specnoise_st, ncols, plot_params ): """Determine the number of plots and axes min and max.""" nplots = 0 moment_minmax = None freq_minmax = None if not config. WARNING ) synth_colors = class PlotParams (): def _init_ ( self ): self. split ( '.' )) # Reduce logging level for Matplotlib to avoid DEBUG messages mpl_logger = logging. :copyright: 2012 Claudio Satriano 2013-2014 Claudio Satriano, Emanuela Matrullo 2015-2022 Claudio Satriano :license: CeCILL Free Software License Agreement v2.1 () """ import os import math import logging import warnings from collections import defaultdict from obspy import Stream from sourcespec.ssp_util import spec_minmax, moment_to_mag, mag_to_moment from sourcespec.savefig import savefig from sourcespec._version import get_versions import matplotlib import matplotlib.pyplot as plt from _pdf import PdfPages import matplotlib.patheffects as PathEffects logger = logging. # -*- coding: utf-8 -*- # SPDX-License-Identifier: CECILL-2.1 """ Spectral plotting routine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |