Skip to content

Physical constants updated in SciPy #883

@lfarv

Description

@lfarv

scipy 1.15 has been released on January 3rd. It updates the physical constants to CODATA 2022, instead of CODATA 2018 used previously. As a consequence, the Matlab tests run on Github fail until the Matlab constants are updated.

Until this is done, ignore the following errors in Matlab tests:

  • pytests/ringparameters(lat2=hmba)
  • pytests/ringparameters(lat2=spear3)

This is due to a different relativistic gamma because of the updated electron mass.

The constants in C are already set to CODATA 2022 (in #742)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions