mtspec.util¶
Utility functions for mtspec. Mainly useful for testing and playing around.
| copyright: | Lion Krischer (krischer@geophysik.uni-muenchen.de) and Moritz Beyreuther, 2010-2016 |
|---|---|
| license: | GNU General Public License, Version 3 (http://www.gnu.org/copyleft/gpl.html) |
-
mtspec.util.exponential_chirp(npts=2000)[source]¶ Generates an exponential chirp.
Parameters: npts (int) – Number of samples. Returns: Generated signal Return type: numpy.ndarray
-
mtspec.util.linear_chirp(npts=2000)[source]¶ Generates a simple linear chirp.
Parameters: npts (int) – Number of samples. Returns: Generated signal Return type: numpy.ndarray
-
mtspec.util.signal_bursts()[source]¶ Generates a signal with two bursts inside. Useful for testing time frequency distributions.
Returns: Generated signal Return type: numpy.ndarray