-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove approximation shortcut for magnetic_amplitude when rhoM < MINI…
…MAL_RHO_M Users noticed an incorrect calculation of the spin asymmetry when the applied field was less than the equivalent MINIMAL_RHO_M (when H < 0.00425 T). The reason for the incorrectness is a shortcut that we were taking to speed up calculations when rhoM in the fronting or backing medium is small, but a) this shortcut only speeds up the calculations by a factor of 2 b) it seems to be noticeably wrong whenever it is applied, getting worse the higher the field is so in the interest of correctness, we can remove the shortcut
- Loading branch information
1 parent
8d07f93
commit b8acef5
Showing
2 changed files
with
28 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters