Coverage for /opt/obspy/update-docs/src/obspy/obspy/signal/detrend : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
#!/usr/bin/env python Python module containing detrend methods.
:copyright: The ObsPy Development Team (devs@obspy.org) :license: GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) """
""" Detrend signal simply by subtracting a line through the first and last point of the trace
:param data: Data to detrend, type numpy.ndarray. :return: Detrended data. """
if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True) |