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

Division by zero in https://github.com/devanshkv/pysigproc/blob/master/gpu_utils.py #3

Open
MSnelders opened this issue May 11, 2020 · 0 comments

Comments

@MSnelders
Copy link

in gpu_utils.py, line 163 (frequency_decimation_factor = math.floor(cand.data.shape[1] // 256)).
You frequency_decimation_factor will be int( 0 ) if cand.data.shape[1] < 256. This causes division errors in line 171 and 173.

I am currently working with data which consists of 128 channels on the freq. axis, and thus I can't fully use gpu_utils.py.

Hope this helps!

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