11# Citrine customized units input file for Pint, based explicitly on the Pint defaults as
2- # included release 0.20 (https://github.com/hgrecco/pint/releases/tag/0.20 ). The Pint Authors hold
3- # copyright and are documented in https://github.com/hgrecco/pint/blob/0.20 /AUTHORS.
2+ # included release 0.23 (https://github.com/hgrecco/pint/releases/tag/0.23 ). The Pint Authors hold
3+ # copyright and are documented in https://github.com/hgrecco/pint/blob/0.23 /AUTHORS.
44#
55# The original copyright statement for the constants file reads:
66#
106106#### PREFIXES ####
107107
108108# decimal prefixes
109+ quecto- = 1e-30 = q-
110+ ronto- = 1e-27 = r-
109111yocto- = 1e-24 = y-
110112zepto- = 1e-21 = z-
111113atto- = 1e-18 = a-
@@ -128,6 +130,8 @@ peta- = 1e15 = P-
128130exa- = 1e18 = E-
129131zetta- = 1e21 = Z-
130132yotta- = 1e24 = Y-
133+ ronna- = 1e27 = R-
134+ quetta- = 1e30 = Q-
131135
132136# binary_prefixes
133137kibi- = 2**10 = Ki-
@@ -189,9 +193,14 @@ byte = 8 * bit = B = octet = Byte = Octet
189193# byte = 8 * bit = _ = octet
190194## NOTE: B (byte) symbol can conflict with Bell
191195
196+ # Ratios
197+ percent = 0.01 = % = pct
198+ permille = 0.001 = ‰ = per_thousand
199+ ppm = 1e-6 = per_million
200+
192201# Length
193202angstrom = 1e-10 * meter = Å = ångström = Angstrom = Ångstrom = Å
194- micron = micrometer = µ = Micron
203+ micron = micrometer = µ = μ = Micron
195204fermi = femtometer = fm = Fermi
196205light_year = speed_of_light * julian_year = ly = lightyear = Light_Year = Lightyear
197206astronomical_unit = 149597870700 * meter = au = Astronomical_Unit # since Aug 2012
@@ -468,6 +477,10 @@ atomic_unit_of_electric_field = e * k_C / a_0 ** 2 = a_u_electric_field
468477# Electric displacement field
469478[electric_displacement_field] = [charge] / [area]
470479
480+ # Reduced electric field
481+ [reduced_electric_field] = [electric_field] * [area]
482+ townsend = 1e-21 * V * m^2 = Td = Townsend
483+
471484# Resistance
472485[resistance] = [electric_potential] / [current]
473486ohm = volt / ampere = Ω = Ohm
@@ -707,10 +720,10 @@ neper = 1 ; logbase: 2.71828182845904523536028747135266249775724709369995; logfa
707720# @group Textile
708721# tex = gram / kilometer = Tt
709722# dtex = decitex
710- # denier = gram / (9 * kilometer) = den = Td
723+ # denier = gram / (9 * kilometer) = den
711724# jute = pound / (14400 * yard) = Tj
712725# aberdeen = jute = Ta
713- # RKM = kgf * 1000 / tex
726+ # RKM = gf / tex
714727#
715728# number_english = 840 * yard / pound = Ne = NeC = ECC
716729# number_meter = kilometer / kilogram = Nm
0 commit comments