From cb6e2840e5825d490426288ee201944ae991d1bf Mon Sep 17 00:00:00 2001 From: Markus Mayer Date: Sat, 6 Jul 2024 01:14:29 +0200 Subject: [PATCH] Fix sensitivity characteristic calculation --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c12c791..0115788 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -224,10 +224,10 @@ where Sensitivity::D2000_11 => 2000, }, sensitivity: match fs { - Sensitivity::D250 => 8.75, - Sensitivity::D500 => 17.5, - Sensitivity::D2000 => 70.0, - Sensitivity::D2000_11 => 70.0, + Sensitivity::D250 => 8.75 * 0.001, // mdeg/1000 + Sensitivity::D500 => 17.5 * 0.001, // mdeg/1000 + Sensitivity::D2000 => 70.0 * 0.001, // mdeg/1000 + Sensitivity::D2000_11 => 70.0 * 0.001, // mdeg/1000 }, zero_rate_noise: match fs { Sensitivity::D250 => 10.0,