detrend

From Glossary of Meteorology
To remove any background linear variation in a time series of data by first computing a linear regression (such as least squares best fit) to the data, and then subtracting it from the data.

This aspect of conditioning data helps to remove red noise associated with a long-wavelength or long-period signal that is inadequately sampled because it is longer than the total data period of sampling.

Copyright 2024 American Meteorological Society (AMS). For permission to reuse any portion of this work, please contact permissions@ametsoc.org. Any use of material in this work that is determined to be “fair use” under Section 107 of the U.S. Copyright Act (17 U.S. Code § 107) or that satisfies the conditions specified in Section 108 of the U.S.Copyright Act (17 USC § 108) does not require AMS’s permission. Republication, systematic reproduction, posting in electronic form, such as on a website or in a searchable database, or other uses of this material, except as exempted by the above statement, require written permission or a license from AMS. Additional details are provided in the AMS Copyright Policy statement.