cupyx.scipy.signal.dfreqresp#

cupyx.scipy.signal.dfreqresp(system, w=None, n=10000, whole=False)[源代码][源代码]#

计算离散时间系统的频率响应。

参数:
  • system (an instance of the dlti class or a tuple describing the system.) – 以下给出了元组中元素的数量及其解释:

  • w (array_like, optional) – 频率数组(以弧度/样本为单位)。此数组中的每个值都会计算幅度和相位数据。如果没有给出,将计算一个合理的集合。

  • n (int, optional) – 如果未给出 w,则计算的频率点数。n 个频率在包含系统极点和零点影响的区间内对数间隔分布。

  • whole (bool, optional) – 通常,如果未给出 ‘w’,则频率从 0 计算到奈奎斯特频率,即每样本 π 弧度(单位圆的上半部分)。如果 whole 为 True,则计算从 0 到每样本 2π 弧度的频率。

返回:

  • w (1D ndarray) – 频率数组 [弧度/样本]

  • H (1D ndarray) – 复数幅值数组

参见

scipy.signal.dfeqresp

备注

如果为 system 传入 (num, den),则分子和分母的系数应以降幂顺序指定(例如,z^2 + 3z + 5 应表示为 [1, 3, 5])。