INNER CODE UNIT · Python

reduced_electron_nucleus_mass

ssebastianmag/hydrogen-wavefunctions · hydrogen_wavefunction.py:198

def reduced_electron_nucleus_mass(Z: int, M: Optional[float] = None):
    """ Compute electron–nucleus reduced mass μ.

        Parameters:
            Z (int): Nuclear charge number. (Z=1 for Hydrogen, Z>1 for hydrogenic ions).
            M (float): Nuclear mass in kg.

        Returns:
            float: Two-body (electron + nucleus) system reduced mass μ in kilograms.

        Notes:
            - If Z>1, M must be provided.
            - If Z=1 and M is not provided, proton mass m_p is assumed.
    """
    if M is None:
        if Z == 1:
            M = m_p
        else:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…