|
|
@ -9,7 +9,7 @@ def _convert(x, length_scale_factor, from_unit, to_unit):
|
|
|
|
# Calculate unit conversion factor
|
|
|
|
# Calculate unit conversion factor
|
|
|
|
from_unit = ureg(from_unit)
|
|
|
|
from_unit = ureg(from_unit)
|
|
|
|
to_unit = ureg(to_unit)
|
|
|
|
to_unit = ureg(to_unit)
|
|
|
|
unit_conversion_factor = (1 * from_unit).to(to_unit).magnitude
|
|
|
|
unit_conversion_factor = from_unit.to(to_unit).magnitude
|
|
|
|
|
|
|
|
|
|
|
|
# Define Froude scaling relationships
|
|
|
|
# Define Froude scaling relationships
|
|
|
|
froude_l_exponent = 1
|
|
|
|
froude_l_exponent = 1
|
|
|
|