halogenandtoast/alchemist

View on GitHub
lib/alchemist/data/units.yml

Summary

Maintainability
Test Coverage
---
:absorbed_radiation_dose:
  :gray: 1.0
  :grays: 1.0
  :Gy: 1.0
  :rad: 0.01
  :rads: 0.01
:angles:
  :radian: 1.0
  :radians: 1.0
  :degree: 0.017453292519943295
  :degrees: 0.017453292519943295
  :arcminute: 0.0002908882086657216
  :arcminutes: 0.0002908882086657216
  :arcsecond: 4.84813681109536e-06
  :arcseconds: 4.84813681109536e-06
  :mil: 0.0009817477
  :mils: 0.0009817477
  :revolution: 6.283185307179586
  :revolutions: 6.283185307179586
  :circle: 6.283185307179586
  :circles: 6.283185307179586
  :right_angle: 1.5707963267948966
  :right_angles: 1.5707963267948966
  :grad: 0.015707963267948967
  :grade: 0.015707963267948967
  :gradian: 0.015707963267948967
  :gon: 0.015707963267948967
  :grads: 0.015707963267948967
  :grades: 0.015707963267948967
  :gradians: 0.015707963267948967
  :gons: 0.015707963267948967
  :furman: 9.58737992858887e-05
  :furmans: 9.58737992858887e-05
:area:
  :square_meter: 1.0
  :square_meters: 1.0
  :square_metre: 1.0
  :square_metres: 1.0
  :acre: 4046.85642
  :acres: 4046.85642
  :are: 100.0
  :ares: 100.0
  :a: 100.0
  :barn: 1.0e-28
  :barns: 1.0e-28
  :b: 1.0e-28
  :circular_mil: 5.067075e-10
  :circular_mils: 5.067075e-10
  :hectare: 10000.0
  :hectares: 10000.0
  :ha: 10000.0
  :square_foot: 0.09290304
  :square_feet: 0.09290304
  :square_inch: 0.00064516
  :square_inches: 0.00064516
  :square_mile: 2589988.0
  :square_miles: 2589988.0
  :square_yard: 0.83612736
  :square_yards: 0.83612736
:capacitance:
  :farad: 1.0
  :farads: 1.0
  :F: 1.0
  :abfarad: 1000000000.0
  :emu_of_capacitance: 1000000000.0
  :abfarads: 1000000000.0
  :emus_of_capacitance: 1000000000.0
  :statfarad: 1.11265e-12
  :esu_of_capacitance: 1.11265e-12
  :statfarads: 1.11265e-12
  :esus_of_capacitance: 1.11265e-12
:distance:
  :meter: 1.0
  :metres: 1.0
  :meters: 1.0
  :m: 1.0
  :fermi: 1.0e-15
  :fermis: 1.0e-15
  :micron: 1.0e-06
  :microns: 1.0e-06
  :chain: 20.1168
  :chains: 20.1168
  :inch: 0.0254
  :inches: 0.0254
  :in: 0.0254
  :microinch: 2.54e-08
  :microinches: 2.54e-08
  :mil: 2.54e-05
  :mils: 2.54e-05
  :rod: 5.02921
  :rods: 5.02921
  :league: 5556
  :leagues: 5556
  :foot: 0.3048
  :feet: 0.3048
  :ft: 0.3048
  :yard: 0.9144
  :yards: 0.9144
  :yd: 0.9144
  :mile: 1609.344
  :miles: 1609.344
  :mi: 1609.344
  :astronomical_unit: 149600000000.0
  :astronomical_units: 149600000000.0
  :au: 149600000000.0
  :ua: 149600000000.0
  :light_year: 9461000000000000.0
  :light_years: 9461000000000000.0
  :ly: 9461000000000000.0
  :parsec: 30857000000000000.0
  :parsecs: 30857000000000000.0
  :nautical_mile: 1852.0
  :nautical_miles: 1852.0
  :admirality_mile: 185.3184
  :admirality_miles: 185.3184
  :fathom: 1.8288
  :fathoms: 1.8288
  :cable_length: 185.2
  :cable_lengths: 185.2
  :angstrom: 1.0e-10
  :angstroms: 1.0e-10
  :pica: 0.004233333
  :picas: 0.004233333
  :printer_pica: 0.004217518
  :printer_picas: 0.004217518
  :point: 0.0003527778
  :points: 0.0003527778
  :printer_point: 0.0003514598
  :printer_points: 0.0003514598
  :empire_state_building: 449.0
  :empire_state_buildings: 449.0
  :sears_tower: 519.0
  :sears_towers: 519.0
  :seattle_space_needle: 184.0
  :seattle_space_needles: 184.0
  :space_needle: 184.0
  :space_needles: 184.0
  :statue_of_liberty: 46.0
  :statue_of_liberties: 46.0
  :washington_monument: 169.294
  :washington_monuments: 169.294
  :eiffel_tower: 324.0
  :eiffel_towers: 324.0
  :nelsons_column: 61.5
  :nelsons_columns: 61.5
  :blackpool_tower: 158.0
  :blackpool_towers: 158.0
  :big_ben: 96.3
  :big_bens: 96.3
  :clock_tower_of_the_palace_of_westminster: 96.3
  :clock_towers_of_the_palace_of_westminster: 96.3
  :st_pauls_cathedral: 108.0
  :st_pauls_cathedrals: 108.0
  :toronto_cn_tower: 553.0
  :toronto_cn_towers: 553.0
  :cn_tower: 553.0
  :cn_towers: 553.0
  :circle_of_the_earth: 40075016.686
  :equator: 40075016.686
  :circles_of_the_earth: 40075016.686
  :equators: 40075016.686
  :siriometer: 149483800000000000.0
  :siriometers: 149483800000000000.0
  :football_field: 91.0
  :football_fields: 91.0
  :length_of_a_double_decker_bus: 8.4
  :height_of_a_double_decker_bus: 4.4
  :smoot: 1.7018
  :smoots: 1.7018
:dose_equivalent:
  :sievert: 1.0
  :sieverts: 1.0
  :Si: 1.0
  :rem: 0.01
  :rems: 0.01
:electric_charge:
  :coulomb: 1.0
  :coulombs: 1.0
  :C: 1.0
  :abcoulomb: 10.0
  :abcoulombs: 10.0
  :ampere_hour: 3600.0
  :ampere_hours: 3600.0
  :faraday: 96485.34
  :faradays: 96485.34
  :franklin: 3.335641e-10
  :franklins: 3.335641e-10
  :Fr: 3.335641e-10
  :statcoulomb: 3.335641e-10
  :statcoulombs: 3.335641e-10
:electric_conductance:
  :siemen: 1.0
  :siemens: 1.0
  :S: 1.0
  :mho: 1.0
  :abmho: 1000000000.0
  :absiemen: 1000000000.0
  :absiemens: 1000000000.0
  :statmho: 1.11265e-12
  :statsiemen: 1.11265e-12
  :statsiemens: 1.11265e-12
:electrical_impedance:
  :ohm: 1.0
  :ohms: 1.0
  :abohm: 1.0e-09
  :emu_of_resistance: 1.0e-09
  :abohms: 1.0e-09
  :emus_of_resistance: 1.0e-09
  :statohm: 898755200000.0
  :esu_of_resistance: 898755200000.0
  :statohms: 898755200000.0
  :esus_of_resistance: 898755200000.0
:electromotive_force:
  :volt: 1.0
  :volts: 1.0
  :V: 1.0
  :abvolt: 1.0e-08
  :emu_of_electric_potential: 1.0e-08
  :abvolts: 1.0e-08
  :emus_of_electric_potential: 1.0e-08
  :statvolt: 299.7925
  :esu_of_electric_potential: 299.7925
  :statvolts: 299.7925
  :esus_of_electric_potential: 299.7925
:energy:
  :joule: 1.0
  :joules: 1.0
  :J: 1.0
  :watt_second: 1.0
  :watt_seconds: 1.0
  :watt_hour: 3600.0
  :watt_hours: 3600.0
  :ton_of_tnt: 4184000000.0
  :tons_of_tnt: 4184000000.0
  :therm: 105506000.0
  :therms: 105506000.0
  :us_therm: 105480400.0
  :us_therms: 105480400.0
  :kilowatt_hour: 3600000.0
  :kilowatt_hours: 3600000.0
  :kilocalorie: 4184.0
  :kilocalories: 4184.0
  :calorie: 4.184
  :calories: 4.184
  :mean_kilocalorie: 4190
  :mean_kilocalories: 4190
  :mean_calorie: 4.19
  :mean_calories: 4.19
  :it_kilocalorie: 4186.8
  :it_kilocalories: 4186.8
  :it_calorie: 4.1868
  :it_calories: 4.1868
  :foot_poundal: 0.04214011
  :foot_poundals: 0.04214011
  :foot_pound_force: 1.355818
  :erg: 1.0e-07
  :ergs: 1.0e-07
  :electronvolt: 1.602176e-19
  :electronvolts: 1.602176e-19
  :eV: 1.602176e-19
  :british_thermal_unit: 1054.35
  :british_thermal_units: 1054.35
  :mean_british_thermal_unit: 1055.87
  :mean_british_thermal_units: 1055.87
  :it_british_thermal_unit: 1055.056
  :it_british_thermal_units: 1055.056
  :foe: 1.0e+44
  :foes: 1.0e+44
:frequency:
  :hertz: 1.0
  :hz: 1.0
  :Hz: 1.0
  :revolutions_per_minute: 0.016666666666666666
  :rpm: 0.016666666666666666
  :beats_per_minute: 0.016666666666666666
  :bpm: 0.016666666666666666
:force:
  :newton: 1.0
  :newtons: 1.0
  :N: 1.0
  :dyne: 1.0e-05
  :dynes: 1.0e-05
  :dyn: 1.0e-05
  :kilogram_force: 9.80665
  :kgf: 9.80665
  :kilopond: 9.80665
  :kiloponds: 9.80665
  :kp: 9.80665
  :kip: 4448.222
  :kips: 4448.222
  :ounce_force: 0.2780139
  :ozf: 0.2780139
  :poundal: 0.138255
  :poundals: 0.138255
  :pound_force: 4.448222
  :lbf: 4.448222
  :ton_force: 8896.443
:illuminance:
  :lux: 1.0
  :lx: 1.0
  :lumens_per_square_metre: 1.0
  :lumens_per_square_meter: 1.0
  :lumen_per_square_metre: 1.0
  :lumen_per_square_meter: 1.0
  :phot: 10000.0
  :phots: 10000.0
  :ph: 10000.0
  :lumens_per_square_foot: 10.76391
  :footcandle: 10.76391
  :lumen_per_square_foot: 10.76391
  :footcandles: 10.76391
:inductance:
  :henry: 1.0
  :henrys: 1.0
  :H: 1.0
  :abhenrys: 1.0e-09
  :emus_of_inductance: 1.0e-09
  :abhenry: 1.0e-09
  :emu_of_inductance: 1.0e-09
  :stathenrys: 898755200000.0
  :esus_of_inductance: 898755200000.0
  :stathenry: 898755200000.0
  :esu_of_inductance: 898755200000.0
:information_storage:
  :bit: 1.0
  :bits: 1.0
  :b: 1.0
  :byte: 8.0
  :bytes: 8.0
  :B: 8.0
  :nibbles: 4.0
  :nybbles: 4.0
:luminous_flux:
  :lumen: 1.0
  :lumens: 1.0
  :lm: 1.0
:luminous_intensity:
  :candela: 1.0
  :candelas: 1.0
  :cd: 1.0
:magnetic_flux:
  :webers: 1.0
  :Wb: 1.0
  :maxwells: 1.0e-08
  :Mx: 1.0e-08
  :unit_poles: 1.256637e-07
:magnetic_inductance:
  :tesla: 1.0
  :teslas: 1.0
  :T: 1.0
  :gamma: 1.0e-09
  :gammas: 1.0e-09
  :gauss: 0.0001
  :Gs: 0.0001
  :G: 0.0001
:mass:
  :gram: 1.0
  :gramme: 1.0
  :grams: 1.0
  :grammes: 1.0
  :g: 1.0
  :carat: 0.2
  :carats: 0.2
  :ounce: 28.34952
  :ounces: 28.34952
  :oz: 28.34952
  :pennyweight: 1.555174
  :pennyweights: 1.555174
  :dwt: 1.555174
  :pound: 453.59237
  :pounds: 453.59237
  :lb: 453.59237
  :lbs: 453.59237
  :troy_pound: 373.2417
  :apothecary_pound: 373.2417
  :troy_pounds: 373.2417
  :apothecary_pounds: 373.2417
  :slug: 14593.9029
  :slugs: 14593.9029
  :assay_ton: 29.1667
  :assay_tons: 29.1667
  :AT: 29.1667
  :metric_ton: 1000000
  :metric_tons: 1000000
  :ton: 907184.74
  :tons: 907184.74
  :short_tons: 907184.74
  :elephant: 5443108.44
  :elephants: 5443108.44
:power:
  :watt: 1.0
  :watts: 1.0
  :W: 1.0
  :british_thermal_unit_per_hour: 0.2928751
  :british_thermal_units_per_hour: 0.2928751
  :it_british_thermal_unit_per_hour: 0.2930711
  :it_british_thermal_units_per_hour: 0.2930711
  :british_thermal_unit_per_second: 1054.35
  :british_thermal_units_per_second: 1054.35
  :it_british_thermal_unit_per_second: 1055.056
  :it_british_thermal_units_per_second: 1055.056
  :calorie_per_minute: 0.06973333
  :calories_per_minute: 0.06973333
  :calorie_per_second: 4.184
  :calories_per_second: 4.184
  :erg_per_second: 1.0e-07
  :ergs_per_second: 1.0e-07
  :foot_pound_force_per_hour: 0.0003766161
  :foot_pound_force_per_minute: 0.02259697
  :foot_pound_force_per_second: 1.355818
  :horsepower: 745.6999
  :boiler_horsepower: 9809.5
  :electric_horsepower: 746.0
  :metric_horsepower: 735.4988
  :uk_horsepower: 745.7
  :water_horsepower: 746.043
  :kilocalorie_per_minute: 69.73333
  :kilocalories_per_minute: 69.73333
  :kilocalorie_per_second: 4184.0
  :kilocalories_per_second: 4184.0
  :ton_of_refrigeration: 3516.853
  :tons_of_refrigeration: 3516.853
:pressure:
  :pascal: 1.0
  :pascals: 1.0
  :Pa: 1.0
  :atmosphere: 101325.0
  :atmospheres: 101325.0
  :technical_atmosphere: 98066.5
  :technical_atmospheres: 98066.5
  :bar: 100000.0
  :bars: 100000.0
  :centimeter_of_mercury: 1333.224
  :centimeters_of_mercury: 1333.224
  :centimeter_of_water: 98.0665
  :centimeters_of_water: 98.0665
  :gram_force_per_square_centimeter: 98.0665
  :dyne_per_square_centimeter: 0.1
  :dynes_per_square_centimeter: 0.1
  :foot_of_mercury: 40636.66
  :feet_of_mercury: 40636.66
  :foot_of_water: 2989.067
  :feet_of_water: 2989.067
  :inch_of_mercury: 3386.389
  :inches_of_mercury: 3386.389
  :inch_of_water: 249.0889
  :inches_of_water: 249.0889
  :kilogram_force_per_square_centimeter: 98066.5
  :kilogram_force_per_square_meter: 9.80665
  :kilogram_force_per_square_millimeter: 9806650.0
  :kip_per_square_inch: 6894757.0
  :kips_per_square_inch: 6894757.0
  :ksi: 6894757.0
  :millibar: 100.0
  :mbar: 100.0
  :millibars: 100.0
  :mbars: 100.0
  :millimeter_of_mercury: 133.3224
  :millimeters_of_mercury: 133.3224
  :millimeter_of_water: 9.80665
  :millimeters_of_water: 9.80665
  :poundal_per_square_foot: 1.488164
  :poundals_per_square_foot: 1.488164
  :pound_force_per_square_foot: 47.88026
  :pound_force_per_square_inch: 6894.757
  :psi: 6894.757
  :torr: 133.3224
  :torrs: 133.3224
:radioactivity:
  :becquerel: 1.0
  :becquerels: 1.0
  :Bq: 1.0
  :curie: 37000000000.0
  :curies: 37000000000.0
  :Ci: 37000000000.0
:time:
  :second: 1.0
  :seconds: 1.0
  :s: 1.0
  :minute: 60.0
  :minutes: 60.0
  :min: 60.0
  :sidereal_minute: 5.983617
  :sidereal_minutes: 5.983617
  :hour: 3600.0
  :hours: 3600.0
  :hr: 3600.0
  :h: 3600.0
  :sidereal_hour: 3590.17
  :sidereal_hours: 3590.17
  :day: 86400.0
  :days: 86400.0
  :sidereal_day: 86164.09
  :sidereal_days: 86164.09
  :shake: 1.0e-08
  :shakes: 1.0e-08
  :year: 31536000.0
  :years: 31536000.0
  :sidereal_year: 31558150.0
  :sidereal_years: 31558150.0
  :tropical_year: 31556930.0
  :tropical_years: 31556930.0
  :jiffy: 0.01
  :jiffies: 0.01
  :microfortnight: 1.2096
  :microfortnights: 1.2096
  :megaannum: 31536000000000000.0
  :Ma: 31536000000000000.0
  :megaannums: 31536000000000000.0
  :galactic_year: 7884000000000000000.0
  :galactic_years: 7884000000000000000.0
  :GY: 7884000000000000000.0
:volume:
  :litre: 1.0
  :liter: 1.0
  :litres: 1.0
  :liters: 1.0
  :l: 1.0
  :L: 1.0
  :barrel: 158.9873
  :barrels: 158.9873
  :bushel: 35.23907
  :bushels: 35.23907
  :cubic_meter: 1000.0
  :cubic_meters: 1000.0
  :cup: 0.2365882
  :cups: 0.2365882
  :imperial_fluid_ounce: 0.0284130742
  :imperial_fluid_ounces: 0.0284130742
  :ounce: 0.0295735296
  :ounces: 0.0295735296
  :fluid_ounce: 0.0295735296
  :fluid_ounces: 0.0295735296
  :imperial_gallon: 4.54609
  :imperial_gallons: 4.54609
  :gallon: 3.785412
  :gallons: 3.785412
  :gals: 3.785412
  :Gals: 3.785412
  :imperial_gill: 0.1420653
  :imperial_gills: 0.1420653
  :gill: 0.1182941
  :gills: 0.1182941
  :gi: 0.1182941
  :pint: 0.5506105
  :pints: 0.5506105
  :liquid_pint: 0.4731765
  :liquid_pints: 0.4731765
  :quart: 1.101221
  :quarts: 1.101221
  :liquid_quart: 0.9463529
  :liquid_quarts: 0.9463529
  :tablespoon: 0.0147867648
  :tablespoons: 0.0147867648
  :teaspoon: 0.00492892159
  :teaspoons: 0.00492892159
  :sydharb: 500000000000.0
  :sydharbs: 500000000000.0