ubermag / help

Repository for raising issues and requesting help on Ubermag
BSD 2-Clause "Simplified" License
11 stars 3 forks source link

Wrong relativistic wavelength expression found #245

Closed KylinGuo closed 1 year ago

KylinGuo commented 1 year ago

The relativistic wavelength expression given at the following page

https://ubermag.github.io/api/_autosummary/mag2exp.ltem.relativistic_wavelength.html#mag2exp.ltem.relativistic_wavelength

is wrong. See the image below.

image

Please correct it. One could find the details at the following page

https://zhuanlan.zhihu.com/p/629008312

It was given in Chinese but the result is quiet straightforward.

image

samjrholt commented 1 year ago

@KylinGuo Thank you for pointing this out. I can confirm that whilst the code is correct the expression given in the API documentation has an additional $2 m0 e U$ term. This has now been updated on the master branch of mag2exp and will appear on the website when we next update it.