|:wrench:| PyLops API
The Application Programming Interface (API) of PyLops can be loosely seen as composed of a stack of three main layers:
- Linear operators: building blocks for the setting up of inverse problems
- Solvers: interfaces to a variety of solvers, providing an easy way to augment an inverse problem with additional regularization and/or preconditioning term
- Applications: high-level interfaces allowing users to easily setup and solve specific problems (while hiding the non-needed details - i.e., creation and setup of linear operators and solvers).
.. currentmodule:: pylops
.. autosummary::
:toctree: generated/
LinearOperator
FunctionOperator
MemoizeOperator
PyTensorOperator
TorchOperator
JaxOperator
.. currentmodule:: pylops
.. autosummary::
:toctree: generated/
MatrixMult
Identity
Zero
Diagonal
Transpose
Flip
Roll
Pad
Sum
Symmetrize
Restriction
Regression
LinearRegression
CausalIntegration
Spread
VStack
HStack
Block
BlockDiag
Kronecker
Real
Imag
Conj
ToCupy
.. autosummary:: :toctree: generated/ Smoothing1D Smoothing2D SmoothingND FirstDerivative SecondDerivative Laplacian Gradient FirstDirectionalDerivative SecondDirectionalDerivative
.. currentmodule:: pylops.signalprocessing
.. autosummary::
:toctree: generated/
Convolve1D
Convolve2D
ConvolveND
NonStationaryConvolve1D
NonStationaryConvolve2D
NonStationaryConvolve3D
NonStationaryFilters1D
NonStationaryFilters2D
Interp
InterpCubicSpline
Bilinear
FFT
FFT2D
FFTND
Shift
DWT
DWT2D
DWTND
DCT
DTCWT
Seislet
Radon2D
Radon3D
FourierRadon2D
FourierRadon3D
ChirpRadon2D
ChirpRadon3D
PWSprayer2D
PWSmoother2D
Sliding1D
Sliding2D
Sliding3D
Patch2D
Patch3D
Fredholm1
.. currentmodule:: pylops.waveeqprocessing
.. autosummary::
:toctree: generated/
PressureToVelocity
UpDownComposition2D
UpDownComposition3D
BlendingContinuous
BlendingGroup
BlendingHalf
MDC
PhaseShift
Kirchhoff
AcousticWave2D
.. currentmodule:: pylops.avo
.. autosummary::
:toctree: generated/
avo.AVOLinearModelling
poststack.PoststackLinearModelling
prestack.PrestackLinearModelling
prestack.PrestackWaveletModelling
.. currentmodule:: pylops.medical
.. autosummary::
:toctree: generated/
CT2D
MRI2D
.. currentmodule:: pylops.optimization.basesolver
.. autosummary::
:toctree: generated/
Solver
.. currentmodule:: pylops.optimization.cls_basic
.. autosummary::
:toctree: generated/
CG
CGLS
LSQR
.. currentmodule:: pylops.optimization.basic
.. autosummary::
:toctree: generated/
cg
cgls
lsqr
.. currentmodule:: pylops.optimization.cls_leastsquares
.. autosummary::
:toctree: generated/
NormalEquationsInversion
RegularizedInversion
PreconditionedInversion
.. currentmodule:: pylops.optimization.leastsquares
.. autosummary::
:toctree: generated/
normal_equations_inversion
regularized_inversion
preconditioned_inversion
.. currentmodule:: pylops.optimization.cls_sparsity
.. autosummary::
:toctree: generated/
IRLS
OMP
ISTA
FISTA
SPGL1
SplitBregman
.. currentmodule:: pylops.optimization.sparsity
.. autosummary::
:toctree: generated/
irls
omp
ista
fista
spgl1
splitbregman
.. currentmodule:: pylops.optimization.callback
.. autosummary::
:toctree: generated/
Callbacks
CostNanInfCallback
CostToDataCallback
CostToInitialCallback
MetricsCallback
.. currentmodule:: pylops.waveeqprocessing
.. autosummary::
:toctree: generated/
SeismicInterpolation
Deghosting
WavefieldDecomposition
MDD
Marchenko
LSM
.. currentmodule:: pylops.avo
.. autosummary::
:toctree: generated/
poststack.PoststackInversion
prestack.PrestackInversion