write_edge_lut

Function write_edge_lut 

Source
pub fn write_edge_lut<R: RegIo + ?Sized>(
    io: &mut R,
    detector: usize,
    table: &[i8; 128],
) -> Result<()>
Expand description

写入边沿时刻修正表(每个检测器 128 项:下标 = 下降沿 × 64 + 边沿在两个采样点之间的小数位置, 内容为有符号修正量,单位 T/64,范围 −32..=31)。上电为全 0。

修正表补偿“边沿只有一两个采样点宽“时线性插值的系统误差,随 CONV 信号的幅度、边沿速度和阈值而变。