correct rust temperature code
This commit is contained in:
@@ -169,6 +169,7 @@ fn decode_raw(filename: &str, frames_root: &str) -> anyhow::Result<Vec<Vec<u16>>
|
||||
.copied()
|
||||
.map(|x| {
|
||||
let x: f64 = x.into();
|
||||
let x = x / 256.0;
|
||||
((-1.665884e-08) * x.powf(4.)
|
||||
+ (1.347094e-05) * x.powf(3.)
|
||||
+ (-4.396264e-03) * x.powf(2.)
|
||||
|
||||
Reference in New Issue
Block a user