Skip to content

Commit 7e3ba28

Browse files
lukaspieSherjeel Shabih
authored andcommitted
bring in dimensionless units from NOMAD (#709)
1 parent c11a09c commit 7e3ba28

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 ####
@@ -131,9 +130,16 @@ steradian = radian ** 2 = sr
131130
square_degree = (π / 180) ** 2 * sr = sq_deg = sqdeg
132131

133132
# Information
134-
byte = 8 * bit = B = octet
135133
baud = bit / second = Bd = bps
136134

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

167173
# Area
168174
[area] = [length] ** 2
175+
are = 100 * meter ** 2
169176
barn = 1e-28 * meter ** 2 = b
170177
darcy = centipoise * centimeter ** 2 / (second * atmosphere)
178+
hectare = 100 * are = ha
171179

172180
# Volume
173181
[volume] = [length] ** 3
@@ -332,6 +340,7 @@ coulomb = ampere * second = C
332340
abcoulomb = 10 * C = abC
333341
faraday = e * N_A * mole
334342
conventional_coulomb_90 = K_J90 * R_K90 / (K_J * R_K) * coulomb = C_90
343+
ampere_hour = ampere * hour = Ah
335344

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

0 commit comments

Comments
 (0)