CEITECmagnonics / SpinWaveToolkit

Set of tools useful in spin wave research.
MIT License
2 stars 0 forks source link

Make module compatible with Numpy >2.0 #18

Open GiovanniKl opened 3 months ago

GiovanniKl commented 3 months ago

Recently, Numpy 2.0 was released, which introduces a lot of changes in its structure and available methods/functions.

See Numpy 2.0 release notes and their Migration Guide.

I think the most drastic change (from what I quickly saw), is deprecation of the x.real and x.imag attributes on complex numbers and arrays. I'm not sure if we use this syntax within this module, but it would be good to check all possible compatibility issues.