sweepx
The sweep seismic wave-equation ecosystem — one install, then import sweep.
sweepx is the umbrella install for sweep —
a GPU seismic wave-equation engine (forward modelling, RTM, FWI/LSRTM) — and its
companion packages. It carries no code of its own: pip install sweepx pulls
in the engine and the published companions so you can import sweep and go.
pip install sweepx
The ecosystem
Every piece is a separate, independently-installable package (the same layout
as the PyLops family). sweepx bundles the published
ones; you can also pip install any single package on its own.
Published — pulled in by sweepx
| Package | import |
What it does |
|---|---|---|
sweep-solver |
sweep |
Wave-equation engine: equations (acoustic / elastic / VTI / TTI / VRZ / SEM), propagators (torch / JAX / CUDA impl='c'), operators, boundary-saving, and FWI / LSRTM / RTM building blocks. |
sweep-agent |
sweep_agent |
Natural-language control layer — chat + files → sweep, through a local LLM (Ollama / vLLM). Runs forward modelling (acoustic and elastic), loads benchmark models, plots — all on the base install. pip install "sweep-agent[ui]" adds a web UI. |
Companions — not on PyPI yet
Shipping as they mature; when a companion is published it is added to sweepx's
dependencies, so you keep the same pip install sweepx.
| Package | What it does |
|---|---|
sweep-tasks |
Production FWI / LSRTM runner — spec schemas, YAML configs, losses, optimizers, multi-GPU, IO. |
sweep-loss |
Misfit / loss functions. |
sweep-nn |
Neural reparameterizations (INR / hash / SIREN encoders). |
sweep-tomo |
First-arrival traveltime tomography (eikonal + SIRT / FATT). |
| (planned) | sweep-io, sweep-viz, sweep-preproc, sweep-opt. |
Quick start
Drive the engine directly:
import sweep
from sweep.propagator.torch import PropTorch # PyTorch propagator
from sweep import equations, propagator # native submodules
…or in plain language, via the agent (needs a local LLM):
sweep-agent chat
>>> load the Marmousi benchmark model and run a forward — show the shot gather
Import name
After pip install sweepx, import as sweep, not sweepx — same pattern as
pip install scikit-learn → import sklearn. The import name sweep was already
taken on PyPI, so the installable is named sweepx.
CUDA backend
sweep's GPU backend (impl='c') ships prebuilt: the sweep-solver wheel carries a
CUDA core for CUDA 12 (V100 and newer) and CUDA 13 (T4 and newer, driver >= 580) and
loads the one matching your torch. Nothing compiles after pip install, with any
torch version (Python >= 3.10 for sweepx); the eager / JAX backends are pure Python.
Details are in the
installation guide.
License
MIT — see LICENSE.
Metadata
Release files for sweepx 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sweepx-0.3.2.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sweepx-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / sweepx-0.3.2.tar.gz
| Download URL | sweepx-0.3.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e091c347d60ac50c0bbbe0118e664e859e05bb5831f30a332f440967b4fb5cc0
|
|
BLAKE2b-256 checksum How to use checksums |
c3805d061182c04ad1ebffc4f34dc563ae7648526820d882461e8b6813a682ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.5
|
Release files / sweepx-0.3.2-py3-none-any.whl
| Download URL | sweepx-0.3.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13d9224b7e4573e3e27baf0ca968408b65e444f4991f697d7898c79ad1d67d2f
|
|
BLAKE2b-256 checksum How to use checksums |
f773464625d929288ea208a0c217726ccc2965891b635ceb35e556bbd1be98a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.5
|