INNER CODE UNIT · Python
compute_psi_xz_slice
ssebastianmag/hydrogen-wavefunctions · hydrogen_wavefunction.py:105
def compute_psi_xz_slice(
n: int,
l: int,
m: int,
Z: int = 1,
use_reduced_mass: bool = True,
M: Optional[float] = None,
extent_a_mu: float = 20.0,
grid_points: int = 600,
phi_value: float = 0.0,
phi_mode: Literal["plane", "constant"] = "plane"
):
""" Evaluate psi_{n,l,m}(x,0,z), hydrogenic eigenfunction restricted to the y=0 (x–z) plane.
Parameters:
n (int): Principal quantum number (n ≥ 1).
l (int): Orbital angular-momentum quantum number (0 ≤ l ≤ n-1).
m (int): Magnetic quantum number (-l ≤ m ≤ l).