Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of Matlab physical constants to CODADA 2022 #884

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

lfarv
Copy link
Contributor

@lfarv lfarv commented Jan 5, 2025

As reported in #883, the python physical constants in scipy.constants have been updated to CODATA 2022. This brings the AT Matlab values on par with the python values.

@lfarv lfarv added the Matlab For Matlab/Octave AT code label Jan 5, 2025
@oscarxblanco
Copy link
Contributor

Dear @lfarv , some of the changes are just changing rows.
From the header I understand this is an automatically generated list. I see no issue on the calculations I launch on MATLAB R2023a.

@lfarv
Copy link
Contributor Author

lfarv commented Jan 8, 2025

@oscarxblanco : I generate the list from a text file published by NIST. Unfortunately, the order of this list has changed since the previous version, which makes the comparison more difficult. But there are indeed small modifications, in particular 3 more digits on the electron rest mass, inducing a (very small) modification of AT results…

@lfarv lfarv merged commit 582a10b into master Jan 8, 2025
28 checks passed
@lfarv lfarv deleted the matlab-phyical-constants branch January 8, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Matlab For Matlab/Octave AT code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants