模块:meridian.model.knots

用于计算结数的辅助函数。

class KnotInfo:包含结数、结位置和权重。

函数

get_knot_info(...):返回结数、结位置和权重。

l1_distance_weights(...):计算每个时间段在结处的权重。