new calib
This commit is contained in:
@ -27,7 +27,9 @@ def log_value_to_linear(value: int) -> float:
|
||||
|
||||
|
||||
def log_pair_to_sweep(avg_1: int, avg_2: int) -> float:
|
||||
return (log_value_to_linear(avg_1) - log_value_to_linear(avg_2)) * LOG_POSTSCALER
|
||||
value_1 = log_value_to_linear(avg_1)
|
||||
value_2 = log_value_to_linear(avg_2)
|
||||
return abs(value_1 - value_2) * LOG_POSTSCALER
|
||||
|
||||
|
||||
class AsciiSweepParser:
|
||||
|
||||
Reference in New Issue
Block a user