smst.utils.math module

smst.utils.math.from_db_magnitudes(magnitudes_db)
smst.utils.math.is_power_of_two(num)

Checks if num is power of two

smst.utils.math.rmse(x, y)

Root mean square error.

Parameters:
  • x – numpy array
  • y – numpy array
Returns:

RMSE(x,y)

smst.utils.math.to_db_magnitudes(amplitudes)