Skip to content

Commit

Permalink
Add RIU to default_en.txt (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed May 12, 2024
1 parent cb0ec94 commit 754a7ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ Pint Changelog
- Add `dim_order` and `default_sort_func` properties to FullFormatter.
(PR #1926, fixes Issue #1841)
- Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal.
- Added refractive index units.
(PR #1816)
- Fix converting to offset units of higher dimension e.g. gauge pressure
(PR #1949)


0.23 (2023-12-08)
-----------------
Expand Down
4 changes: 4 additions & 0 deletions pint/default_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@ buckingham = debye * angstrom
bohr_magneton = e * hbar / (2 * m_e) = µ_B = mu_B
nuclear_magneton = e * hbar / (2 * m_p) = µ_N = mu_N

# Refractive index
[refractive_index] = []
refractive_index_unit = [] = RIU

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

0 comments on commit 754a7ff

Please sign in to comment.