@@ -40,11 +40,13 @@ def plot(d, selected):
4040
4141
4242def wfs_2d_line (omega , x0 , n0 , xs , c = None ):
43- """Line source by 2-dimensional WFS.
43+ r """Line source by 2-dimensional WFS.
4444
45- ::
45+ .. math ::
4646
47- D(x0,k) = j/2 k (x0-xs) n0 / |x0-xs| * H1(k |x0-xs|)
47+ D(\x_0,\w) = \frac{\i}{2} \wc
48+ \frac{\scalarprod{\x-\x_0}{\n_0}}{|\x-\x_\text{s}|}
49+ \Hankel{2}{1}{\wc|\x-\x_\text{s}|}
4850
4951 Examples
5052 --------
@@ -66,13 +68,13 @@ def wfs_2d_line(omega, x0, n0, xs, c=None):
6668
6769
6870def _wfs_point (omega , x0 , n0 , xs , c = None ):
69- """Point source by two- or three-dimensional WFS.
71+ r """Point source by two- or three-dimensional WFS.
7072
71- ::
73+ .. math ::
7274
73- (x0-xs) n0
74- D(x0,k) = j k ------------- e^(-j k |x0-xs|)
75- |x0-xs|^(3/2)
75+ D(\x_0, \w) = \i\wc \frac{\scalarprod{\x_0-\x_\text{s}}{\n_0}}
76+ {|\x_0-\x_\text{s}|^{\frac{3}{2}}}
77+ \e{-\i\wc |\x_0-\x_\text{s}|}
7678
7779 Examples
7880 --------
@@ -99,11 +101,12 @@ def _wfs_point(omega, x0, n0, xs, c=None):
99101def wfs_25d_point (omega , x0 , n0 , xs , xref = [0 , 0 , 0 ], c = None , omalias = None ):
100102 r"""Point source by 2.5-dimensional WFS.
101103
102- ::
104+ .. math ::
103105
104- ____________ (x0-xs) n0
105- D(x0,k) = \|j k |xref-x0| ------------- e^(-j k |x0-xs|)
106- |x0-xs|^(3/2)
106+ D(\x_0,\w) = \sqrt{\i\wc |\x_\text{ref}-\x_0|}
107+ \frac{\scalarprod{\x_0-\x_\text{s}}{\n_0}}
108+ {|\x_0-\x_\text{s}|^\frac{3}{2}}
109+ \e{-\i\wc |\x_0-\x_\text{s}|}
107110
108111 Examples
109112 --------
@@ -132,11 +135,14 @@ def wfs_25d_point(omega, x0, n0, xs, xref=[0, 0, 0], c=None, omalias=None):
132135
133136
134137def _wfs_plane (omega , x0 , n0 , n = [0 , 1 , 0 ], c = None ):
135- """Plane wave by two- or three-dimensional WFS.
138+ r """Plane wave by two- or three-dimensional WFS.
136139
137- Eq.(17) from :cite:`Spors2008`::
140+ Eq.(17) from :cite:`Spors2008`:
138141
139- D(x0,k) = j k n n0 e^(-j k n x0)
142+ .. math::
143+
144+ D(\x_0,\w) = \i\wc \scalarprod{\n}{\n_0}
145+ \e{-\i\wc\scalarprod{\n}{\x_0}}
140146
141147 Examples
142148 --------
@@ -162,10 +168,11 @@ def wfs_25d_plane(omega, x0, n0, n=[0, 1, 0], xref=[0, 0, 0], c=None,
162168 omalias = None ):
163169 r"""Plane wave by 2.5-dimensional WFS.
164170
165- ::
171+ .. math ::
166172
167- ____________
168- D_2.5D(x0,w) = \|j k |xref-x0| n n0 e^(-j k n x0)
173+ D_\text{2.5D}(\x_0,\w) = \sqrt{\i\wc |\x_\text{ref}-\x_0|}
174+ \scalarprod{\n}{\n_0}
175+ \e{-\i\wc \scalarprod{\n}{\x_0}}
169176
170177 Examples
171178 --------
@@ -191,13 +198,13 @@ def wfs_25d_plane(omega, x0, n0, n=[0, 1, 0], xref=[0, 0, 0], c=None,
191198
192199
193200def _wfs_focused (omega , x0 , n0 , xs , c = None ):
194- """Focused source by two- or three-dimensional WFS.
201+ r """Focused source by two- or three-dimensional WFS.
195202
196- ::
203+ .. math ::
197204
198- (x0-xs) n0
199- D(x0,k) = j k ------------- e^(j k |x0-xs|)
200- |x0-xs|^(3/2)
205+ D(\x_0,\w) = \i\wc \frac{\scalarprod{\x_0-\x_\text{s}}{\n_0}}
206+ {|\x_0-\x_\text{s}|^\frac{3}{2}}
207+ \e{\i\wc |\x_0-\x_\text{s}|}
201208
202209 Examples
203210 --------
@@ -224,11 +231,12 @@ def _wfs_focused(omega, x0, n0, xs, c=None):
224231def wfs_25d_focused (omega , x0 , n0 , xs , xref = [0 , 0 , 0 ], c = None , omalias = None ):
225232 r"""Focused source by 2.5-dimensional WFS.
226233
227- ::
234+ .. math ::
228235
229- ____________ (x0-xs) n0
230- D(x0,w) = \|j k |xref-x0| ------------- e^(j k |x0-xs|)
231- |x0-xs|^(3/2)
236+ D(\x_0,\w) = \sqrt{\i\wc |\x_\text{ref}-\x_0|}
237+ \frac{\scalarprod{\x_0-\x_\text{s}}{\n_0}}
238+ {|\x_0-\x_\text{s}|^\frac{3}{2}}
239+ \e{\i\wc |\x_0-\x_\text{s}|}
232240
233241 Examples
234242 --------
@@ -435,9 +443,7 @@ def sdm_2d_line(omega, x0, n0, xs, c=None):
435443 """Line source by two-dimensional SDM.
436444
437445 The secondary sources have to be located on the x-axis (y0=0).
438- Derived from :cite:`Spors2009`, Eq.(9), Eq.(4)::
439-
440- D(x0,k) =
446+ Derived from :cite:`Spors2009`, Eq.(9), Eq.(4).
441447
442448 """
443449 x0 = util .asarray_of_rows (x0 )
@@ -450,12 +456,14 @@ def sdm_2d_line(omega, x0, n0, xs, c=None):
450456
451457
452458def sdm_2d_plane (omega , x0 , n0 , n = [0 , 1 , 0 ], c = None ):
453- """Plane wave by two-dimensional SDM.
459+ r """Plane wave by two-dimensional SDM.
454460
455461 The secondary sources have to be located on the x-axis (y0=0).
456- Derived from :cite:`Ahrens2012`, Eq.(3.73), Eq.(C.5), Eq.(C.11)::
462+ Derived from :cite:`Ahrens2012`, Eq.(3.73), Eq.(C.5), Eq.(C.11):
463+
464+ .. math::
457465
458- D(x0 ,k) = kpw,y * e^(-j*kpw,x*x)
466+ D(\x_0 ,k) = k_\text{pw,y} \e{-\i k_\text{pw,x} x}
459467
460468 """
461469 x0 = util .asarray_of_rows (x0 )
@@ -469,9 +477,7 @@ def sdm_25d_plane(omega, x0, n0, n=[0, 1, 0], xref=[0, 0, 0], c=None):
469477 """Plane wave by 2.5-dimensional SDM.
470478
471479 The secondary sources have to be located on the x-axis (y0=0).
472- Eq.(3.79) from :cite:`Ahrens2012`::
473-
474- D_2.5D(x0,w) =
480+ Eq.(3.79) from :cite:`Ahrens2012`.
475481
476482 """
477483 x0 = util .asarray_of_rows (x0 )
@@ -487,9 +493,7 @@ def sdm_25d_point(omega, x0, n0, xs, xref=[0, 0, 0], c=None):
487493 """Point source by 2.5-dimensional SDM.
488494
489495 The secondary sources have to be located on the x-axis (y0=0).
490- Driving funcnction from :cite:`Spors2010`, Eq.(24)::
491-
492- D(x0,k) =
496+ Driving funcnction from :cite:`Spors2010`, Eq.(24).
493497
494498 """
495499 x0 = util .asarray_of_rows (x0 )
0 commit comments