API reference
earthcarekit.utils.math
Math utilities.
Notes
This module does not depend on other internal modules.
get_decimal_shift
Returns the base-10 exponent needed to scale x into the range [1.0, 10.0).
For example
- x = 0.00034 -> exponent = 4 -> x * 10**4 = 3.4
- x = 0.564 -> exponent = 1 -> x * 10**1 = 5.64
- x = 1234.5 -> exponent = -3 -> x * 10**-3 = 1.2345