Skip to content

Commit 921defa

Browse files
authored
bring in dimensionless units from NOMAD (#709)
1 parent 28225e8 commit 921defa

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/pynxtools/units/default_en.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ kelvin = [temperature]; offset: 0 = K = degK = °K = degree_Kelvin = degreeK #
105105
radian = [angle] = rad
106106
bit = [information]
107107
pixel = [digital_image_resolution] = px = pel
108-
count = []
109108

110109

111110
#### CONSTANTS ####
@@ -132,9 +131,16 @@ steradian = radian ** 2 = sr
132131
square_degree = (π / 180) ** 2 * sr = sq_deg = sqdeg
133132

134133
# Information
135-
byte = 8 * bit = B = octet
136134
baud = bit / second = Bd = bps
137135

136+
byte = 8 * bit = B = octet
137+
138+
# Dimensionless units
139+
count = 1
140+
percent = 0.01 = %
141+
permille = 0.001 = ‰ # NOTE: ‰ = U+2030 (PER MILLE SIGN)
142+
ppm = 1e-6
143+
138144
# Length
139145
angstrom = 1e-10 * meter = Å = ångström = Å
140146
micron = micrometer = µ
@@ -167,8 +173,10 @@ planck_temperature = (h_bar * c ** 5 / gravitational_constant / k ** 2) ** 0.5
167173

168174
# Area
169175
[area] = [length] ** 2
176+
are = 100 * meter ** 2
170177
barn = 1e-28 * meter ** 2 = b
171178
darcy = centipoise * centimeter ** 2 / (second * atmosphere)
179+
hectare = 100 * are = ha
172180

173181
# Volume
174182
[volume] = [length] ** 3
@@ -333,6 +341,7 @@ coulomb = ampere * second = C
333341
abcoulomb = 10 * C = abC
334342
faraday = e * N_A * mole
335343
conventional_coulomb_90 = K_J90 * R_K90 / (K_J * R_K) * coulomb = C_90
344+
ampere_hour = ampere * hour = Ah
336345

337346
# Electric potential
338347
[electric_potential] = [energy] / [charge]

0 commit comments

Comments
 (0)