Method to remove a linear trend from all traces.
Parameters: | type ('linear', 'constant', 'demean' or 'simple', optional) Method to use for detrending. Defaults to 'simple'. 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 stream object. This also makes an entry with information on the applied processing in stats.processing of every trace.
Supported Methods