Conversions¶
A brief collection of useful, MATLAB-style unit conversions.
-
mcycle.library.conversions.
K2degC
(double value) → double¶ float: temperature: Kelvin to Celcius.
-
mcycle.library.conversions.
Pa2atm
(double value) → double¶ float: pressure: Pascal to standard atmospheres.
-
mcycle.library.conversions.
Pa2bar
(double value) → double¶ float: pressure: Pascal to bar.
-
mcycle.library.conversions.
W2bhp
(double value) → double¶ float: power: Watts to Brake Horse Power.
-
mcycle.library.conversions.
atm2Pa
(double value) → double¶ float: pressure: standard atmospheres to Pascal.
-
mcycle.library.conversions.
bar2Pa
(double value) → double¶ float: pressure: bar to Pascal.
-
mcycle.library.conversions.
bhp2W
(double value) → double¶ float: power: Brake Horse Power to Watts.
-
mcycle.library.conversions.
degC2K
(double value) → double¶ float: temperature: Celcius to Kelvin.
-
mcycle.library.conversions.
ft2m
(double value) → double¶ float: length: Feet to metres.
-
mcycle.library.conversions.
in2m
(double value) → double¶ float: length: Inches to metres.
-
mcycle.library.conversions.
knots2mps
(double value) → double¶ float: velocity: knots to metres per second.
-
mcycle.library.conversions.
kph2mps
(double value) → double¶ float: velocity: kilometers per hour to metres per second.
-
mcycle.library.conversions.
m2ft
(double value) → double¶ float: length: Metres to feet.
-
mcycle.library.conversions.
m2in
(double value) → double¶ float: length: Metres to inches.
-
mcycle.library.conversions.
mps2knots
(double value) → double¶ float: float: velocity: metres per second to knots.
-
mcycle.library.conversions.
mps2kph
(double value) → double¶ float: velocity: metres per second to kilometers per hour.