From ac42bcf3cbd8a981ff0f7398d044bb2032d55372 Mon Sep 17 00:00:00 2001 From: Ryan Harvey Date: Fri, 18 Oct 2024 12:44:04 -0400 Subject: [PATCH] fix typo --- neuro_py/plotting/figure_helpers.py | 4 ++-- neuro_py/process/__init__.pyi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/neuro_py/plotting/figure_helpers.py b/neuro_py/plotting/figure_helpers.py index 71d6a03..4292314 100644 --- a/neuro_py/plotting/figure_helpers.py +++ b/neuro_py/plotting/figure_helpers.py @@ -7,7 +7,7 @@ from matplotlib.patches import PathPatch from neuro_py.process.peri_event import joint_peth -from neuro_py.process.utils import avgerage_diagonal +from neuro_py.process.utils import average_diagonal def set_plotting_defaults() -> None: @@ -300,7 +300,7 @@ def plot_joint_peth( joint, expected, difference = joint_peth(peth_1, peth_2, smooth_std=smooth_std) # get average of diagonals - corrected = avgerage_diagonal(difference.T) + corrected = average_diagonal(difference.T) # get center values of corrected_2 corrected = corrected[ difference.shape[1] // 2 : (difference.shape[1] // 2) + difference.shape[1] diff --git a/neuro_py/process/__init__.pyi b/neuro_py/process/__init__.pyi index 5e04ac4..12e84fc 100644 --- a/neuro_py/process/__init__.pyi +++ b/neuro_py/process/__init__.pyi @@ -47,7 +47,7 @@ __all__ = ( "mtspectrumc", "point_spectra", "circular_shift", - "avgerage_diagonal", + "average_diagonal", "remove_inactive_cells", "remove_inactive_cells_pre_task_post", ) @@ -108,7 +108,7 @@ from .pychronux import ( point_spectra, ) from .utils import ( - avgerage_diagonal, + average_diagonal, circular_shift, remove_inactive_cells, remove_inactive_cells_pre_task_post,