sweep-solver
The differentiable wave-equation engine. Nine equation families — acoustic, elastic, VTI, TTI, VRZ, SEM — on torch / JAX / native-CUDA backends, with FWI, LSRTM and RTM building blocks.
Open the solver docssweep-agent
The natural-language control layer. Say what you want and a
local LLM (Ollama / vLLM) turns it into a validated sweep
run — forward modelling, benchmark models, plots.
…and the family
sweep-tasks (production FWI/LSRTM runner), sweep-loss,
sweep-nn, sweep-tomo — each an independent package,
added to sweepx as it ships.
Recently shipped.
The latest user-visible additions across the stack. The badge says where each one lives: a released version you get from pip install, or dev for what is merged but not yet on PyPI — these docs are built from the development branch.
ViscoElastic, the generalized standard linear solid SPECFEM2D uses, with Qp and Qs on both backends. It joins the visco-acoustic form of Zhu & Harris (2014).pml_type is now a clear error instead of a crash.impl='c' runs straight after pip install — no nvcc, no first-use build, one wheel for any PyTorch version.(vh, η), held stable by a multiaxial PML. CUDA gradients for every parameter.pip install: forward modelling (acoustic and elastic) plus benchmark models, no sweep-tasks needed.One install.
Then import sweep.¶
sweepx is the umbrella — it carries no code of its own, it just pulls in the engine and its published companions. Install sweepx, but import sweep (same pattern as scikit-learn → sklearn).
# one install — pulls the engine + the agent:
# pip install sweepx
import sweep # ← sweep-solver, the engine
from sweep.propagator.torch import PropTorch # torch / JAX / native-CUDA
from sweep.equations import Acoustic, ElasticTTI # nine equation families
# …or drive it all in plain language — sweep-agent:
# sweep-agent chat
# >>> load Marmousi and run a forward — show the shot gather
Every piece, installable on its own.
The same layout as the PyLops family — sweepx bundles the published packages; you can also pip install any single one.