@@ -1033,6 +1033,17 @@ def esa_edge_2d_plane(omega, x0, n=[0, 1, 0], alpha=3/2*np.pi, Nc=None,
1033
1033
1034
1034
Derived from :cite:`Spors2016`
1035
1035
1036
+ Examples
1037
+ --------
1038
+ .. plot::
1039
+ :context: close-figs
1040
+
1041
+ array = sfs.array.edge(2**6, 0.2, center=[0, 0, 0], orientation=[0, -1, 0])
1042
+ d, selection, secondary_source = (
1043
+ sfs.mono.drivingfunction.esa_edge_2d_plane(
1044
+ omega, array.x, npw, alpha=3/2*np.pi))
1045
+ plot(np.nan_to_num(d), selection, secondary_source)
1046
+
1036
1047
"""
1037
1048
x0 = np .asarray (x0 )
1038
1049
n = util .normalize_vector (n )
@@ -1171,6 +1182,17 @@ def esa_edge_2d_line(omega, x0, xs, alpha=3/2*np.pi, Nc=None, c=None):
1171
1182
1172
1183
Derived from :cite:`Spors2016`
1173
1184
1185
+ Examples
1186
+ --------
1187
+ .. plot::
1188
+ :context: close-figs
1189
+
1190
+ array = sfs.array.edge(2**6, 0.2, center=[0, 0, 0], orientation=[0, -1, 0])
1191
+ d, selection, secondary_source = (
1192
+ sfs.mono.drivingfunction.esa_edge_2d_line(
1193
+ omega, array.x, xs, alpha=3/2*np.pi))
1194
+ plot(np.nan_to_num(d), selection, secondary_source)
1195
+
1174
1196
"""
1175
1197
x0 = np .asarray (x0 )
1176
1198
k = util .wavenumber (omega , c )
@@ -1245,6 +1267,17 @@ def esa_edge_dipole_2d_line(omega, x0, xs, alpha=3/2*np.pi, Nc=None, c=None):
1245
1267
1246
1268
Derived from :cite:`Spors2016`
1247
1269
1270
+ Examples
1271
+ --------
1272
+ .. plot::
1273
+ :context: close-figs
1274
+
1275
+ array = sfs.array.edge(2**6, 0.2, center=[0, 0, 0], orientation=[0, -1, 0])
1276
+ d, selection, secondary_source = (
1277
+ sfs.mono.drivingfunction.esa_edge_25d_point(
1278
+ omega, array.x, xs, xref=[2, -2, 0], alpha=3/2*np.pi))
1279
+ plot(np.nan_to_num(d), selection, secondary_source)
1280
+
1248
1281
"""
1249
1282
x0 = np .asarray (x0 )
1250
1283
k = util .wavenumber (omega , c )
0 commit comments