You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems to be an off-by-one error with certain combinations of sample rates and input sizes. Regular, non-3d graph (ie code offset without doppler) works fine.
% python/pocket_acq.py -f 4 -sig L1CA -prn 25 -3d -d 10000 ~/Downloads/gpsl1.iq
Traceback (most recent call last):
File "/home/asa/src/PocketSDR/python/pocket_acq.py", line 365, in <module>
plot_corr_3d(ax1, P, dops, coffs, ix, fc)
File "/home/asa/src/PocketSDR/python/pocket_acq.py", line 131, in plot_corr_3d
ax.plot_surface(x, y, z, rstride=1, cstride=1, cmap='Greys', vmax=2, lw=0.1, edgecolor='k')
File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 1389, in plot_surface
X, Y, Z = np.broadcast_arrays(X, Y, Z)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/numpy/lib/stride_tricks.py", line 540, in broadcast_arrays
shape = _broadcast_shape(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/numpy/lib/stride_tricks.py", line 422, in _broadcast_shape
b = np.broadcast(*args[:32])
^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: shape mismatch: objects cannot be broadcast to a single shape. Mismatch is between arg 0 with shape (81, 4001) and arg 2 with shape (81, 4000).
The text was updated successfully, but these errors were encountered:
Seems to be an off-by-one error with certain combinations of sample rates and input sizes. Regular, non-3d graph (ie code offset without doppler) works fine.
The text was updated successfully, but these errors were encountered: