公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.ImageCollection.formaTrend
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
计算时间序列的长期和短期趋势,或者选择性地计算时间序列与协变量的比率的趋势。长期趋势是根据对完整时间序列进行回归的线性项估计得出的。短期趋势计算为时间序列的窗口化最小值。
时间序列和协变量序列应各包含一个波段,并且时间序列在时间上应均匀分布。输出为 4 个浮点频段:长期和短期趋势、长期趋势相对于时间序列的 t 检验,以及参数稳定性的 Bruce Hansen 检验。
用法 | 返回 |
---|
ImageCollection.formaTrend(covariates, windowSize) | 图片 |
参数 | 类型 | 详细信息 |
---|
此:timeSeries | ImageCollection | 从中提取趋势的集合。 |
covariates | ImageCollection,默认值:null | 要在趋势分析中使用的协因子。 |
windowSize | 整数,默认值:6 | 短期趋势分析窗口大小(以图片为单位)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eCalculates long-term and short-term trends of a time series, optionally considering a covariate for ratio trends.\u003c/p\u003e\n"],["\u003cp\u003eLong-term trends are determined through linear regression over the entire series, while short-term trends use a windowed minimum approach.\u003c/p\u003e\n"],["\u003cp\u003eOutputs include the long and short-term trends, a t-test for the long-term trend's significance, and a stability test.\u003c/p\u003e\n"],["\u003cp\u003eRequires an evenly spaced time series ImageCollection and an optional covariate ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the short-term trend analysis by adjusting the window size.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.formaTrend\n\nComputes the long and short term trends of a time series or optionally, the trends of the ratio of the time series and a covariate. The long term trend is estimated from the linear term of a regression on the full time series. The short term trend is computed as the windowed minimum over the time series.\n\n\u003cbr /\u003e\n\nThe time series and covariate series are expected to contain a single band each, and the time series is expected to be evenly spaced in time. The output is 4 float bands: the long and short term trends, the t-test of the long term trend against the time series, and the Bruce Hansen test of parameter stability.\n\n| Usage | Returns |\n|---------------------------------------------------------------|---------|\n| ImageCollection.formaTrend`(`*covariates* `, `*windowSize*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|--------------------------------|---------------------------------------------------|\n| this: `timeSeries` | ImageCollection | Collection from which to extract trends. |\n| `covariates` | ImageCollection, default: null | Cofactors to use in the trend analysis. |\n| `windowSize` | Integer, default: 6 | Short term trend analysis window size, in images. |"]]