From 62ebe5030e2d928f9d3733f72691555b2a36e775 Mon Sep 17 00:00:00 2001 From: Q Xu Date: Mon, 5 Aug 2024 19:12:05 +0800 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a495b3..f8d8d3d 100644 --- a/README.md +++ b/README.md @@ -32,11 +32,11 @@ from classical_doa.plot import plot_spatial_spectrum # Create a 8-element ULA with 0.5m spacing ula = arrays.UniformLinearArray(m=8, dd=0.5) # Create a complex stochastic signal -source = signals.ComplexStochasticSignal(nsamples=1000, fre=3e8, fs=1e9) +source = signals.ComplexStochasticSignal(fre=3e8, fs=1e9) # Simulate the received data received_data = ula.received_signal( - signal=source, snr=0, angle_incidence=np.array([0, 30]), unit="deg" + signal=source, snr=0, nsamples=1000, angle_incidence=np.array([0, 30]), unit="deg" ) # Calculate the MUSIC spectrum