INNER CODE UNIT · Python

plot_hydrogen_wavefunction_xz

ssebastianmag/hydrogen-wavefunctions · hwf_plots.py:40

def plot_hydrogen_wavefunction_xz(
        wf: WaveFunction,
        colormap: str = "rocket",
        use_dark_theme: bool = False,
        k: Optional[float] = None,
        exposure: Optional[float] = 0.0
):
    """ Plot hydrogen wavefunction restricted to the y=0 (x–z) plane.

        Parameters:
            wf (WaveFunction): Wavefunction parameters.
            colormap (str): Seaborn colormap name.
            use_dark_theme (bool): Plot theme rendering mode.
            k (float): Framing scale factor for extent calculation.
            exposure (float): Exposure correction factor for low-probability regions.
    """
    try:
        _ = sns.color_palette(colormap)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…