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

Downsample Array Shape Mismatch #15

Open
xli2522 opened this issue Jul 18, 2024 · 0 comments
Open

Downsample Array Shape Mismatch #15

xli2522 opened this issue Jul 18, 2024 · 0 comments

Comments

@xli2522
Copy link
Owner

xli2522 commented Jul 18, 2024

data = scipy.signal.chirp(ts, 10, t, 120, method='quadratic') spectrogram = sTransform(data, sample_rate=rate, frate=rate/len(data), downsample=100, frange=[0,500])

line 109, in sTransform
vec[Nfreq[0]+i:Nfreq[0]+i+downsampled_length]
ValueError: operands could not be broadcast together with shapes (2999,) (3000,)

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