Earth Engine 推出了
非商业配额层级,以保护共享计算资源并确保为所有人提供可靠的性能。非商业项目默认使用 Community
层级,但您可以随时更改项目的层级。
Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
ee.Number.lanczos
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
计算输入的 Lanczos 近似值。
示例
代码编辑器 (JavaScript)
print('Lanczos approx. of -1', ee.Number(-1).lanczos()); // Infinity
print('Lanczos approx. of -0.9', ee.Number(-0.9).lanczos()); // 524.955196990
print('Lanczos approx. of 0', ee.Number(0).lanczos()); // 32.946318679
print('Lanczos approx. of 10', ee.Number(10).lanczos()); // 2.281783181
print('Lanczos approx. of 1e10', ee.Number(1e10).lanczos()); // 1.000000001
Python 设置
如需了解 Python API 和如何使用 geemap 进行交互式开发,请参阅
Python 环境页面。
import ee
import geemap.core as geemap
Colab (Python)
display('Lanczos approx. of -1:', ee.Number(-1).lanczos()) # Infinity
display('Lanczos approx. of -0.9:',
ee.Number(-0.9).lanczos()) # 524.955196990
display('Lanczos approx. of 0:', ee.Number(0).lanczos()) # 32.946318679
display('Lanczos approx. of 10:',
ee.Number(10).lanczos()) # 2.281783181
display('Lanczos approx. of 1e10:',
ee.Number(1e10).lanczos()) # 1.000000001
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-10-30。
[null,null,["最后更新时间 (UTC):2025-10-30。"],[],[]]