A Python tool for visualizing electron orbitals in atoms using interactive 3D plots.
- Visualize single electron orbitals with specific quantum numbers
- Generate multiple orbital plots for any atom up to Neodymium (60 electrons)
- Create combined visualizations of all orbitals for an atom
- Interactive 3D plots using Plotly
- Command-line interface for easy usage
- Safe your plots as html
To install AtomicOrbit, follow these steps:
- Ensure you have Python 3.7 or higher installed on your system.
- Clone this repository:
git clone https://github.com/Fluffy-tofu/AtomicOrbit.git cd AtomicOrbit
- Install the package using pip:
pip install -e .
AtomicOrbit can be used via the command line. Here are some example commands:
-
Visualize a single orbital:
atomicorbit -p single -n 2 -l 1 -m 0
-
Visualize all orbitals for carbon in one plot:
atomicorbit -a Copper -p all
-
Visualize every orbital for an atom with 29 electrons (copper) seperatly:
atomicorbit -e 60 -p multiple
For more options and information, use the help command:
atomicorbit -h
Here are some example visualizations generated by AtomicOrbit:
Single Orbital (2p) | All orbitals for Copper |
---|---|
Every orbital in separate plots for Neodymium: |
---|
The implemented atomic orbital wave function
with radial part
and spherical harmonics
where
Contributions to AtomicOrbit are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.