|
1 | 1 | # Citrine customized units input file for Pint, based explicitly on the Pint defaults as |
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. |
| 2 | +# included release 0.24.3 (https://github.com/hgrecco/pint/releases/tag/0.24.3). The Pint Authors hold |
| 3 | +# copyright and are documented in https://github.com/hgrecco/pint/blob/0.24.3/AUTHORS. |
4 | 4 | # |
5 | 5 | # The original copyright statement for the constants file reads: |
6 | 6 | # |
@@ -116,7 +116,7 @@ pico- = 1e-12 = p- |
116 | 116 | nano- = 1e-9 = n- |
117 | 117 | # The micro (U+00B5) and Greek mu (U+03BC) are both valid prefixes, |
118 | 118 | # and they often use the same glyph. |
119 | | -micro- = 1e-6 = µ- = μ- = u- |
| 119 | +micro- = 1e-6 = µ- = μ- = u- = mu- = mc- |
120 | 120 | milli- = 1e-3 = m- |
121 | 121 | centi- = 1e-2 = c- |
122 | 122 | deci- = 1e-1 = d- |
@@ -269,7 +269,7 @@ hectare = 100 * are = ha = Hectare |
269 | 269 |
|
270 | 270 | # Volume |
271 | 271 | [volume] = [length] ** 3 |
272 | | -liter = decimeter ** 3 = l = L = litre = Liter = Litre |
| 272 | +liter = decimeter ** 3 = l = L = ℓ = litre = Liter = Litre |
273 | 273 | cubic_centimeter = centimeter ** 3 = cc = Cubic_Centimeter |
274 | 274 | lambda = microliter = λ = Lambda |
275 | 275 | stere = meter ** 3 = _ = Stere |
@@ -543,12 +543,17 @@ buckingham = debye * angstrom = Buckingham |
543 | 543 | bohr_magneton = e * hbar / (2 * m_e) = µ_B = mu_B |
544 | 544 | nuclear_magneton = e * hbar / (2 * m_p) = µ_N = mu_N |
545 | 545 |
|
| 546 | +# Refractive index |
| 547 | +[refractive_index] = [] |
| 548 | +refractive_index_unit = [] = RIU |
| 549 | + |
546 | 550 | # Logaritmic Unit Definition |
547 | 551 | # Unit = scale; logbase; logfactor |
548 | 552 | # x_dB = [logfactor] * log( x_lin / [scale] ) / log( [logbase] ) |
549 | 553 |
|
550 | 554 | # Logaritmic Units of dimensionless quantity: [ https://en.wikipedia.org/wiki/Level_(logarithmic_quantity) ] |
551 | 555 |
|
| 556 | +decibelwatt = watt; logbase: 10; logfactor: 10 = dBW |
552 | 557 | decibelmilliwatt = 1e-3 watt; logbase: 10; logfactor: 10 = dBm |
553 | 558 | decibelmicrowatt = 1e-6 watt; logbase: 10; logfactor: 10 = dBu |
554 | 559 |
|
|
0 commit comments