Skip to content

Commit

Permalink
Add absorbance unit and dimension (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
nneskildsf authored Jan 15, 2025
1 parent 6082bdc commit 18f1191
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Pint Changelog
- Update constants to CODATA 2022 recommended values. (#2049)
- Fixed issue with `.to_compact` and Magnitudes with uncertainties / Quantities with units (PR #2069, issue #2044)
- Add conductivity dimension. (#2112)
- Add absorbance unit and dimension. (#2114)


0.24.4 (2024-11-07)
Expand Down
4 changes: 4 additions & 0 deletions pint/default_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ nuclear_magneton = e * hbar / (2 * m_p) = µ_N = mu_N
[refractive_index] = []
refractive_index_unit = [] = RIU

# Absorbance
[absorbance] = []
absorbance_unit = [] = AU

# Logaritmic Unit Definition
# Unit = scale; logbase; logfactor
# x_dB = [logfactor] * log( x_lin / [scale] ) / log( [logbase] )
Expand Down

0 comments on commit 18f1191

Please sign in to comment.