Open-source laser pulse filamentation solver
Developed for ultrashort laser filamentation modeling, Acherus is a (2+1)-spatiotemporal laser filamentation package for Python. It solves the Nonlinear Envelope Equation (NEE) for ultrashort laser pulses in optically transparent and dispersive media—gases (air), liquids (water), and solids (silica)—using the pseudo-spectral Fourier-Crank-Nicolson (FCN) method. The package computes the temporal evolution of the plasma electron density generated during propagation, as well as the pulse intensity, fluence, and width spatiotemporal profiles. Acherus enables accurate prediction and reproduction of numerical or experimental ultrashort laser filamentation scenarios under moderate input powers, providing a versatile tool for modeling a wide range of nonlinear optical phenomena, including supercontinuum generation, conical emission, and X-wave formation, among others.
🚀 Key features of acherus:
- Input beam models: Gaussian spatiotemporal profiles including chirped and lens-focused beams.
- Dispersion models: full or partial chromatic dispersion using Sellmeier semi-empirical equations.
- Ionization models: multiphoton ionization (MPI) or general Keldysh-PPT theory rate predictions.
- Python implementation with exposed API: access to modules, classes, functions, and core simulation objects.
- High performance matrix operations using
numpyandscipycompiled libraries for fast, GIL-free computation. - Built-in 1D-3D visualization tools for post-processing and on-the-fly simulation monitoring with Matplotlib.
- Optimized memory management and multithreading using
ThreadPoolExecutorshared work pools.
🧩 Other features of acherus:
- Decoupled split-step Crank-Nicolson (SSCN) solver for simpler scenarios.
- Optimized output storage (
HDF5format) and post-processing withh5pylibrary.
📣 Tag and version updates are described in each acherus GitHub Release
- For specific queries, please contact the developer 👩💻👋 through this Email.
📘 Documentation, powered by sphinx, is available at https://acherus.readthedocs.io/
Look at 📁 examples/ for different physical applications:
- 1500 picosecond filamentation of an IR (1032 nm) pulse in air.
- 100 femtosecond filamentation of an IR (800 nm) pulse in air.
- 130 femtosecond filamentation of an IR (800 nm) pulse in water.
- 90 femtosecond filamentation of a UV (400 nm) pulse in water.
Acherus supports Python 3.11 - 3.14 and may be installed using any venv or conda environment.
📘 Complete installation details can be checked in our Installation Guide.
To install acherus, simply run:
pip install acherusTo install acherus from the source, clone the repository and install it in editable mode:
git clone https://github.com/ismatorresgarcia/acherus.git
cd acherus
pip install -e .📌 Have a bug, feature request, or suggestion? Open a GitHub Issue so the community can track it.
👥 Want to contribute? To merge your changes into main, create a Pull Request (PR) following this PR template.
🚀 HASTUR Project - Harnessing Atmospheric Lasing: Towards Ultrasensitive Detection of Toxic Agents and Pathogens
🏢 ETSII-UPM. Instituto de Fusión Nuclear
🌱 This project is part of a research carried out during the academic years 2024–2026 at the Universidad Politécnica de Madrid.
🎯 The main goal of this thesis is to study the detection of toxic agents and pathogens in the upper layers of the atmosphere by exploiting the presence of molecular nitrogen. These nitrogen molecules can act as an active medium, which amplifies radiation of a specific frequency when interacting with nitrogen, generating laser emission. The interaction between laser light and surrounding matter in the atmosphere can be used to determine the hidden presence of undesired contaminants and to study their physical properties.
🤔 So, what are the main activities or tasks carried out in this project?
- 💻 Developing Maxwell-Bloch numerical codes, as well as studying the propagation of intense infrared plasma lasers through plasma channels—using Particle-in-Cell codes (PIC)—and atomic processes in plasmas.
- 📈 Developing preprocessing and postprocessing tools to study the data generated by the numerical codes.
- 🧪 Using the previous numerical codes to study the amplification of ultraviolet (UV) radiation in nitrogen plasma filaments.
🔖 All acherus releases are linked automatically to a Zenodo publication under a unique DOI. If you use acherus in your work, please star this repository so we can track adoption and improve the project. Additionally, if you use acherus in a scientific publication, please consider citing this work:
[1] I. Torres García and E. Oliva Gonzalo, "Acherus". Zenodo, 2026. https://doi.org/10.5281/zenodo.18864577
