Function mlx9064x::calculations::delta_v[][src]

pub fn delta_v<'a, Clb: CalibrationData<'a>>(
    calibration: &'a Clb,
    v_dd_pixel: i16
) -> f32
Expand description

Calculate $\Delta V$

This is part of the process for calculating the current ambient temperature ($T_a$) and is calculated once per frame. It is documented in sections 11.1.2 and 11.2.2.3 in both datasheets. This function is used for constructing CommonIrData.

$$ \Delta V = \frac{V_{DD_{pix}} - V_{DD_{25}}}{K_{V_{DD}}} $$

The constants $V_{DD_{25}}$ and $K_{V_{DD}}$ are retrieved from the calibration argument, while $V_{DD_{pix}}$ (v_dd_pixel) is read from the camera’s RAM.