Skip to content

Commit 18f1191

Browse files
authored
Add absorbance unit and dimension (#2115)
1 parent 6082bdc commit 18f1191

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Pint Changelog
1010
- Update constants to CODATA 2022 recommended values. (#2049)
1111
- Fixed issue with `.to_compact` and Magnitudes with uncertainties / Quantities with units (PR #2069, issue #2044)
1212
- Add conductivity dimension. (#2112)
13+
- Add absorbance unit and dimension. (#2114)
1314

1415

1516
0.24.4 (2024-11-07)

pint/default_en.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,10 @@ nuclear_magneton = e * hbar / (2 * m_p) = µ_N = mu_N
499499
[refractive_index] = []
500500
refractive_index_unit = [] = RIU
501501

502+
# Absorbance
503+
[absorbance] = []
504+
absorbance_unit = [] = AU
505+
502506
# Logaritmic Unit Definition
503507
# Unit = scale; logbase; logfactor
504508
# x_dB = [logfactor] * log( x_lin / [scale] ) / log( [logbase] )

0 commit comments

Comments
 (0)