Repository navigation
Magνs 1.2.0.
Magνs 1.2.0 fixes three physics errors, so some results change. It also validates inputs more strictly and adds a few features.
Results that change
- Electron density from mass density. A density in g/cm³ is now converted with the atomic mass unit, ρ N_A Y_e, as in nuSQuIDS, GLoBES, Prob3++, NuFast, OscProb, and nuCraft. Before, it was 0.8% too low. Probabilities through the Earth's core change by up to 0.065 at 1–20 GeV (#168).
- Lorentz violation for antineutrinos. The Lorentz-violating term now changes sign for antineutrinos when
n_livis even, including the defaultn_liv=0. Neutrinos, and oddn_liv, are unchanged (#162). average=True. It now returns the phase average over an energy spread set by the new keywordaverage_spread(default 0.1). Before, it kept or dropped each interference term outright (#64).
Fixed
- Calls from several threads no longer interfere (#153).
- A tight tolerance on the Sun no longer gives a worse answer than the default.
- Undeclared jumps and narrow spikes in a profile no longer end the refinement on a wrong answer.
Changed
- Arguments are checked once per call, by one set of rules, at every entry point. Values that used to be ignored or misread now raise an error that names the argument (#160).
- The 1-3 CP phase is
dCP, and the Lorentz-violating onedxiCP, at every number of flavors. The old namesd13anddxi13still work, with aFutureWarning(#121). - Every Hamiltonian builder accepts an array for its varying argument (#155).
Added
osc_prob_pseudo_dirac_vacuum, whose phase average stays exact even for very small splittings (#165).- Oscillograms with non-standard interactions and Lorentz violation (#146), and
nubar=on the probability plots (#145). - On the command line,
probis optional (#138).
Install or upgrade with pip install -U magnuspy. The full list of changes is in the changelog.