INNER CODE UNIT · Python

create_dash_app

ssebastianmag/hydrogen-wavefunctions · interactive_plot/interactive_plot_util.py:112

def create_dash_app():
    """
        Create and initialize the Dash application for visualizing hydrogens probability densities on an x–z slice.

        Returns
        -------
        dash.Dash
            A fully configured Dash application ready to be run with
            `app.run(...)`.

        """
    print('Starting app...')
    app = Dash(__name__)
    colorscale = create_plotly_colorscale('rocket')

    # Initial values
    n0, l0, m0 = 1, 0, 0
    nmax0, resolution0 = _last_valid_values['nmax'], _last_valid_values['resolution']

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…