slice_lightcurve#
- jinwu.core.slice_lightcurve(lc: LightcurveData, tmin: float | Time | TimeDelta | None = None, tmax: float | Time | TimeDelta | None = None) LightcurveData[source]#
按时间范围筛选光变曲线,返回新实例。
参数 - lc: 输入光变曲线数据 - tmin/tmax: 时间下/上界(闭区间);可为相对秒 (float) 或 astropy/jinwu 的 Time/TimeDelta;None 表示不限
返回 - 新的 LightcurveData 实例
English Filter lightcurve by time range [tmin, tmax]; returns new instance.