From 1d5c16c4ed708a0deb075af4adf4981a959fcda5 Mon Sep 17 00:00:00 2001 From: soltia48 Date: Mon, 24 Feb 2025 19:15:44 +0900 Subject: [PATCH] fix wrong lsp2lpc docstring --- pysptk/sptk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pysptk/sptk.py b/pysptk/sptk.py index b66f8a3..7b68570 100644 --- a/pysptk/sptk.py +++ b/pysptk/sptk.py @@ -1193,8 +1193,8 @@ def lsp2lpc(lsp, has_gain=True, loggain=False, fs=None, itype=0): Parameters ---------- - lpc : array - LPC + lsp : array + LSP has_gain : bool, optional Whether input LPC has gain at the index 0 or not. Default is True. @@ -1217,7 +1217,7 @@ def lsp2lpc(lsp, has_gain=True, loggain=False, fs=None, itype=0): Returns ------- - lsp : array, shape (``order + 1``) if has_gain else (``order``) + lpc : array, shape (``order + 1``) if has_gain else (``order``) LPC raises @@ -1228,7 +1228,7 @@ def lsp2lpc(lsp, has_gain=True, loggain=False, fs=None, itype=0): See Also -------- - pysptk.sptk.lpc2lsp + pysptk.sptk.lsp2lpc """ return _sptk.lsp2lpc(lsp, has_gain, loggain, fs, itype)