magnus.hamiltonians

__init__.py

Subpackage initializer for magnus.hamiltonians. Explicitly imports and re-exports the public names of hamiltonians2nu.py, hamiltonians3nu.py, hamiltonians4nu.py, and hamiltonians5nu.py: the mixing matrices and vacuum/matter/NSI/LIV Hamiltonians for 2, 3, 4, and 5 neutrino flavors.

It also re-exports two names defined in magnus.globaldefs and used throughout this subpackage: ANGLE_CONVENTIONS, the values the angles keyword accepts, and MixingAngleConventionWarning, which that keyword can raise. They live in globaldefs because the conversion itself is in the private _angles module, and a name a caller is told to filter on has to be documented somewhere public.

Routine listings

(none; only re-exports the four hamiltonians{2,3,4,5}nu.py modules’ public names, plus the two globaldefs names above – see __all__ below for the exact list)

Submodules