FIR_LEPTON returning incorrect refresh and resolution values on Pure Thermal OpenMV board?

Hi OpenMV team,
I’m using a FLIR Lepton 3.5 thermal camera with the OpenMV Pure Thermal board .
I initialize the sensor like this:

import fir
fir.init(fir.FIR_LEPTON)
print(“Type:”, fir.type())
print(“Width x Height:”, fir.width(), “x”, fir.height())
print(“Refresh:”, fir.refresh())
print(“Resolution:”, fir.resolution())

This gives the following output:
Type: 5
Width x Height: 160 x 120
Refresh: 27
Resolution: 16

According to the documentation, fir.FIR_LEPTON should have:
A fixed refresh rate of ~9 Hz (8.7 Hz)
A fixed resolution of 14 bits
So I was expecting to see:
Refresh: 9
Resolution: 14

Are the fir.refresh() and fir.resolution() functions supposed to return valid values for FIR_LEPTON on the Pure Thermal board? Or are these values just undefined or not applicable for Lepton sensors?

Would appreciate any clarification or guidance. Thanks in advance!

    *refresh = fir_lepton_3 ? 27 : 9;
    *resolution = fir_lepton_rad_en ? 16 : 14;

Those values are just produced by this code. I think *refresh = fir_lepton_3 ? 27 : 9; should be *refresh = !fir_lepton_3 ? 27 : 9;. As for the 16-bits, that’s because your Lepton 3.5 is radiometric.