Bandpass filter of Signal

Is there bandpass filter api available in pytorch

1 Like

You could create the bandpass filter either manually (e.g. via a difference of gaussians) or using another Python library (scipy should have methods for it) and apply the filter e.g. using F.conv1d. Alternatively, you could also filter the signal in the frequency domain.

checkout kornia filters API here
https://kornia.readthedocs.io/en/latest/filters.html#filtering-api