Propagator๏ƒ

class nuTens.propagator.BaseMatterSolver๏ƒ

Bases: pybind11_object

calculate_eigenvalues(self: BaseMatterSolver) list[Tensor]๏ƒ

calculate the eigenvalues of the Hamiltonian. Returns tuple containing <eigenvectors, eigenvalues>

set_antineutrino(self: BaseMatterSolver, new_value: bool) BaseMatterSolver๏ƒ

Set whether the solver should calculate values for anti-neutrinos

set_energies(self: BaseMatterSolver, new_energies: Tensor) BaseMatterSolver๏ƒ

Set the neutrino energies

set_masses(self: BaseMatterSolver, new_masses: Tensor) BaseMatterSolver๏ƒ

Set the neutrino masses the solver should use

set_mixing_matrix(self: BaseMatterSolver, new_matrix: Tensor) BaseMatterSolver๏ƒ

Set the mixing matrix that the solver should use

class nuTens.propagator.BaseMixingMatrix๏ƒ

Bases: pybind11_object

build(self: BaseMixingMatrix) Tensor๏ƒ
class nuTens.propagator.ConstDensitySolver๏ƒ

Bases: BaseMatterSolver

get_density(self: ConstDensitySolver) float๏ƒ

Get the density used by the solver

set_antineutrino(self: ConstDensitySolver, new_value: bool) ConstDensitySolver๏ƒ

Set the density that the solver should use

set_density(self: ConstDensitySolver, new_value: SupportsFloat | SupportsIndex) ConstDensitySolver๏ƒ

Set the density that the solver should use

set_masses(self: ConstDensitySolver, new_value: Tensor) ConstDensitySolver๏ƒ

Set the neutrino masses that the solver should use

set_mixing_matrix(self: ConstDensitySolver, new_value: Tensor) ConstDensitySolver๏ƒ

Set the mixing that the solver should use

class nuTens.propagator.DPpropagator๏ƒ

Bases: Propagator

calculate_probs(self: DPpropagator) Tensor๏ƒ
get_deltacp(self: DPpropagator) Tensor๏ƒ
get_deltamsq21(self: DPpropagator) Tensor๏ƒ
get_deltamsq31(self: DPpropagator) Tensor๏ƒ
get_energies(self: DPpropagator) Tensor๏ƒ
get_theta12(self: DPpropagator) Tensor๏ƒ
get_theta13(self: DPpropagator) Tensor๏ƒ
get_theta23(self: DPpropagator) Tensor๏ƒ
set_antineutrino(self: DPpropagator, new_value: bool) DPpropagator๏ƒ

set whether to calculate anti-neutrino probabilities

set_baseline(self: DPpropagator, new_baseline: SupportsFloat | SupportsIndex) DPpropagator๏ƒ

set the baseline

set_deltacp(self: DPpropagator, delta_cp: Tensor) DPpropagator๏ƒ
set_density(self: DPpropagator, new_density: SupportsFloat | SupportsIndex) DPpropagator๏ƒ

set the density

set_dmsq21(self: DPpropagator, dmsq_21: Tensor) DPpropagator๏ƒ
set_dmsq31(self: DPpropagator, dmsq_31: Tensor) DPpropagator๏ƒ
set_energies(self: DPpropagator, new_energies: Tensor) DPpropagator๏ƒ

set the neutrino energies

set_sin_squared_thetas(self: DPpropagator, new_value: bool) DPpropagator๏ƒ

If True, the provided theta_ij values will be interpreted as sin^2(theta_ij) meaning that some of the computation can be shortcut and the probability calculation will be sped up. Note however that this will force the thetas to be in the lower octant (which is probably fine for most applications)

set_theta12(self: DPpropagator, theta_12: Tensor) DPpropagator๏ƒ
set_theta13(self: DPpropagator, theta_13: Tensor) DPpropagator๏ƒ
set_theta23(self: DPpropagator, theta_23: Tensor) DPpropagator๏ƒ
class nuTens.propagator.PMNSmatrix๏ƒ

Bases: BaseMixingMatrix

get_deltacp_tensor(self: PMNSmatrix) Tensor๏ƒ
get_theta12_tensor(self: PMNSmatrix) Tensor๏ƒ
get_theta13_tensor(self: PMNSmatrix) Tensor๏ƒ
get_theta23_tensor(self: PMNSmatrix) Tensor๏ƒ
set_deltacp(self: PMNSmatrix, delta_cp: SupportsFloat | SupportsIndex) PMNSmatrix๏ƒ
set_theta12(self: PMNSmatrix, theta_12: SupportsFloat | SupportsIndex) PMNSmatrix๏ƒ
set_theta13(self: PMNSmatrix, theta_13: SupportsFloat | SupportsIndex) PMNSmatrix๏ƒ
set_theta23(self: PMNSmatrix, theta_23: SupportsFloat | SupportsIndex) PMNSmatrix๏ƒ
class nuTens.propagator.Propagator๏ƒ

Bases: pybind11_object

calculate_probabilities(self: Propagator) Tensor๏ƒ

Calculate the oscillation probabilities for neutrinos of specified energies

get_baseline(self: Propagator) float๏ƒ

Get the baseline used by the propagator

set_antineutrino(self: Propagator, new_value: bool) Propagator๏ƒ

Set whether the propagator should calculate oscillations for anti-neutrinos

set_baseline(self: Propagator, new_value: SupportsFloat | SupportsIndex) Propagator๏ƒ

Set the baseline that the propagator should use

set_energies(self: Propagator, new_energies: Tensor) Propagator๏ƒ

Set the neutrino energies that the propagator should use

set_masses(self: Propagator, new_masses: Tensor) Propagator๏ƒ

Set the neutrino mass state eigenvalues

set_matter_solver(self: Propagator, new_matter_solver: BaseMatterSolver) Propagator๏ƒ

Set the matter effect solver that the propagator should use

set_mixing_matrix(self: Propagator, new_matrix: Tensor) Propagator๏ƒ

Set the mixing matrix that the propagator should use