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
127 128 129 130 131 132 133 134 135 136 | |
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
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | |
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
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
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
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
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
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | |
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
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
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
24 25 26 27 28 29 30 | |