obspy.core.util.decorator

Decorator used in ObsPy.

copyright

The ObsPy Development Team (devs@obspy.org)

license

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Public Functions

deprecated

This is a decorator which can be used to mark functions as deprecated.

deprecated_keywords

Decorator for marking keywords as deprecated.

map_example_filename

Decorator that replaces "/path/to/filename" patterns in the arg or kwarg of the specified name with the correct file path.