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

PyAT lattices saved in .m format are not recognised by Matlab #829

Open
lfarv opened this issue Sep 4, 2024 · 0 comments
Open

PyAT lattices saved in .m format are not recognised by Matlab #829

lfarv opened this issue Sep 4, 2024 · 0 comments

Comments

@lfarv
Copy link
Contributor

lfarv commented Sep 4, 2024

Since numpy 2.0 was released, saving lattice in .m format generate files which cannot be interpreted by Matlab. The reason is that some values are written as "np.float64(1.5)" instead of "1.5" as before. Until this is solved, the recommendation is to use the JSON format, another text format recognised by both Matlab and python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant