Method to taper the trace.
Optional (and sometimes necessary) options to the tapering function can be provided as args and kwargs. See respective function definitions in Supported Methods section below.
Parameters: | type (str) Type of taper to use for detrending. Defaults to 'cosine'. See the Supported Methods section below for further details. |
---|
Note
This operation is performed in place on the actual data arrays. The raw data is not accessible anymore afterwards. To keep your original data, use copy() to create a copy of your trace object. This also makes an entry with information on the applied processing in stats.processing of this trace.
Supported Methods