Describe the bug
Running code snippets from the RAPIDS documentation page https://docs.rapids.ai/api/cusignal/nightly/api.html#cusignal.windows.windows.hann returns the following error message :
AttributeError: module 'cusignal' has no attribute 'butter'
Steps/Code to reproduce bug
import cusignal import cupy as cp import matplotlib.pyplot as plt
`fs = 10e3
N = 1e5
amp = 20
freq = 1234.0
noise_power = 0.001 * fs / 2
time = cp.arange(N) / fs
b, a = cusignal.butter(2, 0.25, 'low')
x = cp.random.normal(scale=cp.sqrt(noise_power), size=time.shape)
lfilter not implemented in cuSignal
y = cusignal.lfilter(b, a, x)
x += ampcp.sin(2cp.pifreqtime)
y += cp.random.normal(scale=0.1*cp.sqrt(noise_power), size=time.shape)`
Expected behavior
The Butterwirth filter seems to have been removed from a previous version in the nightly distribution of RAPIDS (23-04) that I have just installed.
Environment details (please complete the following information):
- Environment location: Ubuntu 22.04 LTS
- Method of cuSignal install: conda 23.3.0
- Code snippet ran from code (VSCode) in a Jupyter notebook
Additional context
Add any other context about the problem here.