首页 > 解决方案 > depth_err 在 astropy.timeseries.BoxLeastSquaresResults 中是什么意思

问题描述

我有一个astropy.timeseries.BoxLeastSquaresResults物体,我想找到depth光线曲线(来自系外行星凌日)属性的不确定性。有一个名为 的属性depth_err文档说:

depth_err : array_like 或 Quantity

深度的 1-sigma 不确定性。

但是在我的数据的高峰期,depth[max] = 0.0157但是depth_err[max] = 0.319max是峰值功率的指数)。我不明白不确定性如何比值本身大 10 倍以上,而且我找不到描述此属性的单位或其他文档。

是什么depth_err意思?它在什么单位?

标签: pythonastropy

解决方案


depth_err 深度的不确定性,但不确定性比值本身大 10 倍的原因是因为我没有将数据点本身的不确定性提供给BoxLeastSquares对象。从各自的文档

astropy.timeseries.BoxLeastSquares(t, y, dy=无)

dy : float、array_like 或 Quantity,可选

与时间相关的误差或观测误差序列t

如果不在dy这里提供,不会引发错误,但这些depth_err值是无用的。

另请注意,如果您的数据或错误中有任何NaNs 或s,则该对象将不起作用。infBoxLeastSquaresResults

然而,使用干净的数据和dy提供的 s,我的深度误差在 1% 左右。


推荐阅读