Skip to content

Commit

Permalink
updating documentation for propagation constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
LyceanEM committed Aug 15, 2024
1 parent 5d21901 commit 15b56c7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/examples/02_coherently_polarised_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
wavelength=wavelength,
farfield_distance=20,
project_vectors=True,
beta=(2*np.pi)/wavelength
)

# %%
Expand Down
3 changes: 2 additions & 1 deletion docs/examples/03_frequency_domain_channel_modelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ def structure_cells(array):
scatter_points=scatter_points,
wavelength=wavelength,
scattering=1,
project_vectors=False
project_vectors=False,
beta=(2*np.pi)/wavelength
)


Expand Down
1 change: 1 addition & 0 deletions docs/examples/04_time_domain_channel_modelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def structure_cells(array):
elements=False,
sampling_freq=sampling_freq,
num_samples=num_samples,
beta=(2 * np.pi) / wavelength
)

noise_volts = np.random.normal(mean_noise, noise_volts_peak, num_samples)
Expand Down
1 change: 1 addition & 0 deletions docs/examples/05_array_beamforming.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
farfield_distance=20,
elements=True,
project_vectors=True,
beta=(2*np.pi)/wavelength
)


Expand Down
2 changes: 2 additions & 0 deletions docs/examples/06_farfield_polarisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)

# %%
Expand Down Expand Up @@ -117,6 +118,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)

n_pattern = antenna_pattern(
Expand Down
6 changes: 6 additions & 0 deletions docs/examples/07_aperture_farfield_polarisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)

# %%
Expand Down Expand Up @@ -89,6 +90,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)


Expand All @@ -114,6 +116,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)

n_pattern = antenna_pattern(
Expand Down Expand Up @@ -143,6 +146,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)
u_pattern.pattern[:, :, 0] = Etheta
u_pattern.pattern[:, :, 1] = Ephi
Expand All @@ -161,6 +165,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)
v_pattern.pattern[:, :, 0] = Etheta
v_pattern.pattern[:, :, 1] = Ephi
Expand All @@ -179,6 +184,7 @@
farfield_distance=20,
elements=False,
project_vectors=False,
beta=(2*np.pi)/wavelength
)
n_pattern.pattern[:, :, 0] = Etheta
n_pattern.pattern[:, :, 1] = Ephi
Expand Down

0 comments on commit 15b56c7

Please sign in to comment.