From accc36e614257bf48d6a0b83ce77a8c83255ec93 Mon Sep 17 00:00:00 2001 From: mrava87 Date: Wed, 5 Jun 2024 22:23:18 +0300 Subject: [PATCH 1/3] minor: remove ravel from Fredholm1 _matvev --- pylops/signalprocessing/fredholm1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylops/signalprocessing/fredholm1.py b/pylops/signalprocessing/fredholm1.py index 8a64e12b..5f4b02c5 100644 --- a/pylops/signalprocessing/fredholm1.py +++ b/pylops/signalprocessing/fredholm1.py @@ -146,4 +146,4 @@ def _rmatvec(self, x: NDArray) -> NDArray: for isl in range(self.nsl): # y[isl] = ncp.dot(self.G[isl].conj().T, x[isl]) y[isl] = ncp.dot(x[isl].T.conj(), self.G[isl]).T.conj() - return y.ravel() + return y From 7acf812f3f06836df4079eb4f4206b74b91d2971 Mon Sep 17 00:00:00 2001 From: mrava87 Date: Wed, 5 Jun 2024 22:28:51 +0300 Subject: [PATCH 2/3] minor: fix typo in fredholm1 docstring --- pylops/signalprocessing/fredholm1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylops/signalprocessing/fredholm1.py b/pylops/signalprocessing/fredholm1.py index 5f4b02c5..57eec234 100644 --- a/pylops/signalprocessing/fredholm1.py +++ b/pylops/signalprocessing/fredholm1.py @@ -61,7 +61,7 @@ class Fredholm1(LinearOperator): d(k, x, z) = \int{G(k, x, y) m(k, y, z) \,\mathrm{d}y} \quad \forall k=1,\ldots,n_{slice} - on the other hand its adjoin is expressed as + on the other hand its adjoint is expressed as .. math:: From e537125dac09f79fef7659ee59095e90677d13e8 Mon Sep 17 00:00:00 2001 From: mrava87 Date: Thu, 6 Jun 2024 23:02:33 +0300 Subject: [PATCH 3/3] minor: added args_FFT1 to MDC --- pylops/waveeqprocessing/mdd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylops/waveeqprocessing/mdd.py b/pylops/waveeqprocessing/mdd.py index 0202b624..90e2cba3 100644 --- a/pylops/waveeqprocessing/mdd.py +++ b/pylops/waveeqprocessing/mdd.py @@ -242,6 +242,7 @@ def MDC( conj=conj, prescaled=prescaled, args_FFT={"engine": fftengine}, + args_FFT1={"engine": fftengine}, args_Fredholm1={"usematmul": usematmul}, ) MOp.name = name