Skip to content

Commit

Permalink
Fix sensitivity characteristic calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed Jul 5, 2024
1 parent 4f64107 commit cb6e284
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cb6e284

Please sign in to comment.