Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using mmwave.dsp.compensation.add_doppler_compensation #33

Open
CRalli1 opened this issue Mar 17, 2021 · 0 comments
Open

Error using mmwave.dsp.compensation.add_doppler_compensation #33

CRalli1 opened this issue Mar 17, 2021 · 0 comments

Comments

@CRalli1
Copy link

CRalli1 commented Mar 17, 2021

Hi,
Really useful package! I got an error trying to use this function, I have pasted the error output below. I tried it with and without the num_doppler _bins variable which your docs say is optional and it came up with the same error for both.

Cheers,
Charlie

Traceback (most recent call last): File "Process.py", line 116, in <module> R,D,A=processing(F) File "Process.py", line 65, in processing Frame2=mmc.add_doppler_compensation(Frame,2) File "/home/(path)/.local/lib/python3.8/site-packages/mmwave/dsp/compensation.py", line 79, in add_doppler_compensation azimuth_mod_coefs, bins = _generate_dft_sin_cos_table(int(num_doppler_bins)) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

and

Traceback (most recent call last): File "Process.py", line 115, in <module> R,D,A=processing(F) File "Process.py", line 64, in processing Frame2=mmc.add_doppler_compensation(Frame,2,16) File "/home/(path)/.local/lib/python3.8/site-packages/mmwave/dsp/compensation.py", line 79, in add_doppler_compensation azimuth_mod_coefs, bins = _generate_dft_sin_cos_table(int(num_doppler_bins)) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant