Repository navigation
Home
The Electron Scattering Simulator is a browser-based graphical physics workbench and Progressive Web App (PWA) designed for relativistic Dirac partial-wave calculations of elastic electron (
The software runs the official ELSEPA 2021 (package elsepa-2020, Comput. Phys. Commun. 261 (2021) 107704) Fortran 90 programs:
-
ELSCATA: Atomic and ionic targets (
$Z = 1$ to$103$ ), free atoms, or atoms in solids (muffin-tin model). - ELSCATM: Molecular targets using the Independent Atom Model (IAM) with coherent interference.
The core physics engines are compiled to WebAssembly via netlib f2c and Emscripten, executing directly inside browser Web Workers without requiring server installations or network connectivity. An optional Node.js/Express backend provides native gfortran execution when available.
This platform is developed for:
- Atomic and Molecular Physicists: Studying relativistic scattering dynamics, spin polarization, and phase shift analysis.
- Electron Microscopists (TEM / STEM / SEM): Simulating elastic differential cross sections, high-angle annular dark-field (HAADF) scattering factors, and electron channelling parameters.
-
Radiation Transport Modelers: Generating cross-section databases and transport coefficients (
$\sigma_1, \sigma_2$ ) for Monte Carlo simulations (e.g., PENELOPE, GEANT4). - Surface and Materials Scientists: Modeling electron backscattering and transport in thin films and bulk solids.
- Educators and Students: Visualizing quantum mechanical partial waves, Sherman functions, and central potentials.
- Project Website: https://the-studio-of-sadiq.github.io/Electron-Scattering/
- Live Web Application: https://electron-scattering.onrender.com/
- Source Repository: The-Studio-of-Sadiq/Electron-Scattering
- Technical Documentation: docs/Documentation.md
- User Guide Pages:
This repository maintains a strict separation between application code and the core physics engine:
- Application Code: Licensed under the MIT License. This covers the React 19 / TypeScript user interface, Vite configuration, Express backend server, WebAssembly compilation tooling, automated test suites, and documentation.
-
ELSEPA Physics Engine: Authored by Francesc Salvat (Universitat de Barcelona), Aleksander Jablonski (Institute of Physical Chemistry, Polish Academy of Sciences), and Cedric J. Powell (National Institute of Standards and Technology). The Fortran 90 sources in
fortran/, atomic data tables indata/, and the precompiled WebAssembly binaries inpublic/elsepa/are licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License (CC BY-NC 3.0). Use of ELSEPA routines is permitted for non-commercial research and educational purposes with appropriate attribution. Commercial use of the ELSEPA components is not permitted. - Notice on Earlier Versions: At the explicit request of the ELSEPA authors, the earlier 2005 version of ELSEPA is no longer distributed with this software.
If you use this simulator or the generated cross-section data in academic work, please cite both this software platform and the foundational ELSEPA publications.
@software{Prince_Electron_Scattering_Simulator_2026,
author = {Prince, Golam Kuadir Khan and Hossain, Md. Mahabub and Bhowmik, Pankaj},
title = {{Electron Scattering Simulator: a complete PWA of ELSEPA software with GUI}},
version = {2.0.0},
year = {2026},
publisher = {GitHub},
url = {https://the-studio-of-sadiq.github.io/Electron-Scattering/}
}- ELSEPA 2021 Release (Current Engine): F. Salvat, A. Jablonski, C. J. Powell, ELSEPA - Dirac partial-wave calculation of elastic scattering of electrons and positrons by atoms, positive ions and molecules (New Version Announcement), Computer Physics Communications 261 (2021) 107704. DOI: 10.1016/j.cpc.2020.107704.
- Original Formulation & Methodology: F. Salvat, A. Jablonski, C. J. Powell, ELSEPA - Dirac partial-wave calculation of elastic scattering of electrons and positrons by atoms, positive ions and molecules, Computer Physics Communications 165 (2005) 157–190. DOI: 10.1016/j.cpc.2004.09.006.
- RADIAL Wave Equation Package: F. Salvat, J. M. Fernandez-Varea, RADIAL: A Fortran subroutine package for the solution of the radial Schrödinger and Dirac wave equations, Computer Physics Communications 240 (2019) 165–177. DOI: 10.1016/j.cpc.2019.02.011.
Application licensed under MIT; ELSEPA 2021 licensed under CC BY-NC 3.0. Found an issue? Report it on GitHub.