Skip to content
Snippets Groups Projects
Commit 55d0dfe1 authored by Theodore Chang's avatar Theodore Chang
Browse files

Merge branch '1028-add-pixel-px-as-a-unit' into 'develop'

Resolve "Add pixel (px) as a unit"

Closes #1028

See merge request !818
parents 494242df 933a6b0d
No related branches found
No related tags found
1 merge request!818Resolve "Add pixel (px) as a unit"
Pipeline #142481 failed
......@@ -104,6 +104,7 @@ mole = [substance] = mol
kelvin = [temperature]; offset: 0 = K = degK = °K = degree_Kelvin = degreeK # older names supported for compatibility
radian = [angle] = rad
bit = [information]
pixel = [digital_image_resolution] = px = pel
#### CONSTANTS ####
......@@ -400,6 +401,10 @@ buckingham = debye * angstrom
bohr_magneton = e * h_bar / (2 * m_e) = µ_B = mu_B
nuclear_magneton = e * h_bar / (2 * m_p) = µ_N = mu_N
# Pixel density
[pixel_density] = [digital_image_resolution] / [length]
pixels_per_inch = px / inch = PPI = ppi
pixels_per_centimeter = px / cm = PPCM = ppcm
#### UNIT GROUPS ####
# Mostly for length, area, volume, mass, force
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment