get_m (method)

get_m(self, value)[source]

Convert the value the correct m unit (to display in GUI)

Parameters:
  • self (Unit) – A Unit object
  • value (float) – Value to convert
Returns:

value – Converted value in the current unit

Return type:

float