@@ -260,15 +260,15 @@ def circular_pw(N, k, r, setup):
260260
261261 bn = circ_radial_weights (N , kr , setup )
262262 for i , x in enumerate (kr ):
263- bn [i , :] = bn [i , :] * 4 * np . pi * (1j )** n
263+ bn [i , :] = bn [i , :] * (1j )** ( - n )
264264 return bn
265265
266266
267267def circular_ls (N , k , r , rs , setup ):
268- r"""Radial coefficients for a point source.
268+ r"""Radial coefficients for a line source.
269269
270- Computes the radial component of the spherical harmonics expansion of a
271- point source impinging on a spherical array.
270+ Computes the radial component of the circular harmonics expansion of a
271+ line source impinging on a circular array.
272272
273273 .. math::
274274
@@ -296,10 +296,10 @@ def circular_ls(N, k, r, rs, setup):
296296 krs = k * rs
297297 n = np .arange (N + 1 )
298298
299- bn = weights (N , k * r , setup )
299+ bn = circ_radial_weights (N , k * r , setup )
300300 for i , x in enumerate (krs ):
301301 Hn = special .hankel2 (n , x )
302- bn [i , :] = bn [i , :] * - 1j / 4 * ( - 1j ) * Hn
302+ bn [i , :] = bn [i , :] * - 1j / 4 * Hn
303303 return bn
304304
305305
0 commit comments