equations
¶
Functions:
-
eq1_sol–Solve the first equilibrium ODE.
-
eq2_sol–Solve the second equilibrium ODE.
-
ic_eq_1–Initial conditions for the first equilibrium ODE.
-
ic_eq_2–Initial conditions for the second equilibrium ODE.
-
rhs_eq_1–Compute the right-hand side of the first equilibrium ODE.
-
rhs_eq_2–Compute the right-hand side of the second equilibrium ODE.
-
sigma–Calculate the sigma value based on the given parameters.
eq1_sol
¶
eq1_sol(alpha: float, theta_0: float, delta_h: float, r0: float = RMIN / 2.0) -> OdeSolution
Solve the first equilibrium ODE.
Source code in src/fpga_profile_reco/data/equations.py
115 116 117 118 119 120 121 122 123 124 | |
eq2_sol
¶
eq2_sol(alpha: float, theta_0: float, delta_h: float, delta_a: float, r0: float = RMIN / 2.0) -> Tuple[OdeSolution, bool]
Solve the second equilibrium ODE.
Source code in src/fpga_profile_reco/data/equations.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
ic_eq_1
¶
ic_eq_1(alpha: float, theta_0: float, delta_h: float, r0: float | ndarray = RMIN / 2.0) -> List[float] | ndarray
Initial conditions for the first equilibrium ODE.
Source code in src/fpga_profile_reco/data/equations.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | |
ic_eq_2
¶
ic_eq_2(alpha: float, theta_0: float, delta_h: float, delta_a: float, r0: float | ndarray = RMIN / 2.0) -> List[float] | ndarray
Initial conditions for the second equilibrium ODE.
Source code in src/fpga_profile_reco/data/equations.py
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
rhs_eq_1
¶
rhs_eq_1(r: float | ndarray, y: List[float] | Tuple[float] | ndarray, alpha: float, theta_0: float, delta_h: float) -> Tuple[float | ndarray]
Compute the right-hand side of the first equilibrium ODE.
Source code in src/fpga_profile_reco/data/equations.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
rhs_eq_2
¶
rhs_eq_2(r: float | ndarray, y: List[float] | Tuple[float] | ndarray, alpha: float, theta_0: float, delta_h: float) -> Tuple[float | ndarray]
Compute the right-hand side of the second equilibrium ODE.
Source code in src/fpga_profile_reco/data/equations.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
sigma
¶
sigma(r: float | ndarray, alpha: float, theta_0: float, delta_h: float) -> float | ndarray
Calculate the sigma value based on the given parameters.
Source code in src/fpga_profile_reco/data/equations.py
22 23 24 25 26 27 28 | |