@@ -13,9 +13,7 @@ def wfs_2d_line(omega, x0, n0, xs, c=None):
1313
1414 ::
1515
16-
17- D(x0,k) = j k (x0-xs) n0 / |x0-xs| * H1(k |x0-xs|)
18-
16+ D(x0,k) = j k (x0-xs) n0 / |x0-xs| * H1(k |x0-xs|)
1917
2018 """
2119 x0 = np .asarray (x0 )
@@ -32,9 +30,9 @@ def _wfs_point(omega, x0, n0, xs, c=None):
3230
3331 ::
3432
35- (x0-xs) n0
36- D(x0,k) = j k ------------- e^(-j k |x0-xs|)
37- |x0-xs|^(3/2)
33+ (x0-xs) n0
34+ D(x0,k) = j k ------------- e^(-j k |x0-xs|)
35+ |x0-xs|^(3/2)
3836
3937 """
4038 x0 = np .asarray (x0 )
@@ -54,9 +52,9 @@ def wfs_25d_point(omega, x0, n0, xs, xref=[0, 0, 0], c=None, omalias=None):
5452
5553 ::
5654
57- ____________ (x0-xs) n0
58- D(x0,k) = \|j k |xref-x0| ------------- e^(-j k |x0-xs|)
59- |x0-xs|^(3/2)
55+ ____________ (x0-xs) n0
56+ D(x0,k) = \|j k |xref-x0| ------------- e^(-j k |x0-xs|)
57+ |x0-xs|^(3/2)
6058
6159 """
6260 x0 = np .asarray (x0 )
@@ -80,7 +78,7 @@ def _wfs_plane(omega, x0, n0, n=[0, 1, 0], c=None):
8078
8179 Eq.(17) from [Spors et al, 2008]::
8280
83- D(x0,k) = j k n n0 e^(-j k n x0)
81+ D(x0,k) = j k n n0 e^(-j k n x0)
8482
8583 """
8684 x0 = np .asarray (x0 )
@@ -99,8 +97,8 @@ def wfs_25d_plane(omega, x0, n0, n=[0, 1, 0], xref=[0, 0, 0], c=None,
9997
10098 ::
10199
102- ____________
103- D_2.5D(x0,w) = \|j k |xref-x0| n n0 e^(-j k n x0)
100+ ____________
101+ D_2.5D(x0,w) = \|j k |xref-x0| n n0 e^(-j k n x0)
104102
105103 """
106104 x0 = np .asarray (x0 )
@@ -117,7 +115,7 @@ def wfs_25d_plane(omega, x0, n0, n=[0, 1, 0], xref=[0, 0, 0], c=None,
117115
118116
119117def wfs_25d_preeq (omega , omalias , c ):
120- """Preqeualization for 2.5D WFS"""
118+ """Preqeualization for 2.5D WFS. """
121119 if omalias is None :
122120 return np .sqrt (1j * util .wavenumber (omega , c ))
123121 else :
@@ -186,11 +184,11 @@ def nfchoa_25d_point(omega, x0, r0, xs, c=None):
186184
187185 ::
188186
189- __ (2)
190- 1 \ h|m| (w/c r)
191- D(phi0,w) = ----- /__ ------------- e^(i m (phi0-phi))
192- 2pi r0 m=-N..N (2)
193- h|m| (w/c r0)
187+ __ (2)
188+ 1 \ h|m| (w/c r)
189+ D(phi0,w) = ----- /__ ------------- e^(i m (phi0-phi))
190+ 2pi r0 m=-N..N (2)
191+ h|m| (w/c r0)
194192
195193 """
196194 x0 = np .asarray (x0 )
@@ -218,6 +216,7 @@ def nfchoa_25d_plane(omega, x0, r0, n=[0, 1, 0], c=None):
218216 D_25D(phi0,w) = -- /__ ------------------ e^(i m (phi0-phi_pw) )
219217 r0 m=-N..N (2)
220218 w/c h|m| (w/c r0)
219+
221220 """
222221 x0 = np .asarray (x0 )
223222 k = util .wavenumber (omega , c )
@@ -238,11 +237,10 @@ def nfchoa_25d_plane(omega, x0, r0, n=[0, 1, 0], c=None):
238237def sdm_2d_line (omega , x0 , n0 , xs , c = None ):
239238 """Line source by two-dimensional SDM.
240239
241- The secondary sources have to be located on the x-axis (y0=0).
242- Derived from [Spors 2009, 126th AES Convention], Eq.(9), Eq.(4)
243- ::
240+ The secondary sources have to be located on the x-axis (y0=0).
241+ Derived from [Spors 2009, 126th AES Convention], Eq.(9), Eq.(4)::
244242
245- D(x0,k) =
243+ D(x0,k) =
246244
247245 """
248246 x0 = np .asarray (x0 )
@@ -257,11 +255,10 @@ def sdm_2d_line(omega, x0, n0, xs, c=None):
257255def sdm_2d_plane (omega , x0 , n0 , n = [0 , 1 , 0 ], c = None ):
258256 """Plane wave by two-dimensional SDM.
259257
260- The secondary sources have to be located on the x-axis (y0=0).
261- Derived from [Ahrens 2011, Springer], Eq.(3.73), Eq.(C.5), Eq.(C.11)
262- ::
258+ The secondary sources have to be located on the x-axis (y0=0).
259+ Derived from [Ahrens 2011, Springer], Eq.(3.73), Eq.(C.5), Eq.(C.11)::
263260
264- D(x0,k) = kpw,y * e^(-j*kpw,x*x)
261+ D(x0,k) = kpw,y * e^(-j*kpw,x*x)
265262
266263 """
267264 x0 = np .asarray (x0 )
@@ -274,11 +271,10 @@ def sdm_2d_plane(omega, x0, n0, n=[0, 1, 0], c=None):
274271def sdm_25d_plane (omega , x0 , n0 , n = [0 , 1 , 0 ], xref = [0 , 0 , 0 ], c = None ):
275272 """Plane wave by 2.5-dimensional SDM.
276273
277- The secondary sources have to be located on the x-axis (y0=0).
278- Eq.(3.79) from [Ahrens 2011, Springer].
279- ::
274+ The secondary sources have to be located on the x-axis (y0=0).
275+ Eq.(3.79) from [Ahrens 2011, Springer]::
280276
281- D_2.5D(x0,w) =
277+ D_2.5D(x0,w) =
282278
283279 """
284280 x0 = np .asarray (x0 )
@@ -293,13 +289,10 @@ def sdm_25d_plane(omega, x0, n0, n=[0, 1, 0], xref=[0, 0, 0], c=None):
293289def sdm_25d_point (omega , x0 , n0 , xs , xref = [0 , 0 , 0 ], c = None ):
294290 """Point source by 2.5-dimensional SDM.
295291
296- The secondary sources have to be located on the x-axis (y0=0).
297- Driving funcnction from [Spors 2010, 128th AES Covention], Eq.(24)
298-
299- ::
300-
301- D(x0,k) =
292+ The secondary sources have to be located on the x-axis (y0=0).
293+ Driving funcnction from [Spors 2010, 128th AES Covention], Eq.(24)::
302294
295+ D(x0,k) =
303296
304297 """
305298 x0 = np .asarray (x0 )
0 commit comments