Skip to main content

sweepx

One-line install for the sweep ecosystem.

sweepx is an umbrella meta-package. It contains no code of its own — installing it just pulls in the solver plus every companion package in one shot.

Install

pip install sweepx

This drags in:

Distribution Import name What it does
sweep-solver sweep Wave-equation engine: equations, propagators, operators
sweep-io sweep_io SEG-Y / HDF5 / shot-gather datasets
sweep-nn sweep_nn Neural priors: SIREN, INRs, hash-encoding, reparam
sweep-opt sweep_opt Optimizers, line search, preconditioners, parameterization
sweep-loss sweep_loss Misfit functionals (L2, W2, envelope, AWI, …)
sweep-viz sweep_viz Plotting helpers for wavefields, gradients, models
sweep-preproc sweep_preproc Signal preprocessing
sweep-tasks sweep_tasks Task-runner CLI for FWI/LSRTM pipelines
sweep-runner sweep_runner Job-submission helpers

Import

After pip install sweepx, import as sweep, not sweepx:

import sweep                                  # the wave-equation engine
from sweep import equations, propagator       # native submodules
from sweep import io, nn, opt, loss, viz      # companion namespace aliases
from sweep_io import SEGYReader               # or use the real names directly

The sweep.io / sweep.nn / … short aliases are provided by sweep-solver's top-level __init__.py and resolve lazily to the underlying companion distributions.

This is the same pattern as pip install scikit-learn followed by import sklearn. The PyPI distribution name and the Python module name deliberately differ — sweep (the import name) was taken on PyPI, so the umbrella is published as sweepx.

CUDA

sweep-solver ships with optional CUDA kernels. To build them:

SWEEP_BUILD_CUDA=1 pip install sweepx

(Triggers a source build of the sweep._C extension. Requires PyTorch and the CUDA toolkit on PATH.)

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sweepx-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sweepx-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file sweepx-0.1.0.tar.gz.

File metadata

  • Download URL: sweepx-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for sweepx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f4cebf75c9b317cc9fe7949a229e45efbb62b06dfe6227aefc73e41cb0a8e6f
MD5 f94c9443901782e8d726feccde31e0a8
BLAKE2b-256 395f761837800abb1ea8e0448f4440c22695d111a4a67db5296b203522ca882e

See more details on using hashes here.

File details

Details for the file sweepx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sweepx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for sweepx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23241af8b6e5a623e4dc7eea7b137c9fcbc4be21ebc7b0ba2f2c1e7fe19ff557
MD5 3f9eb297650cdbe9ce4d5415f82ffe70
BLAKE2b-256 1be2527a3ee5d61611c487a73b761408f3f2b305e4cab75040cad2bc3336e7c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page