From 5f8af85445e41076ac1b91aaaedb432a6166fb57 Mon Sep 17 00:00:00 2001 From: Chris Hold Date: Tue, 2 Jul 2024 08:11:25 +0300 Subject: [PATCH] Fix deprecation warning docstring pi --- spaudiopy/sph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spaudiopy/sph.py b/spaudiopy/sph.py index e22c734..3621551 100644 --- a/spaudiopy/sph.py +++ b/spaudiopy/sph.py @@ -1010,7 +1010,7 @@ def hypercardioid_modal_weights(N_sph): def cardioid_modal_weights(N_sph): - """Modal weights for beamformer resulting in a cardioid. + r"""Modal weights for beamformer resulting in a cardioid. Parameters ---------- @@ -1025,7 +1025,7 @@ def cardioid_modal_weights(N_sph): Notes ----- Also called `in-phase weights`, where - :math:`w_{n, cardioid} = 4\pi*w_{n, inphase} / (N+1)` . + :math:`w_{n, cardioid} = 4\pi * w_{n, inphase} / (N+1)` . Examples --------