Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanharvey1 committed Oct 18, 2024
1 parent f90441f commit ac42bcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions neuro_py/plotting/figure_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions neuro_py/process/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ __all__ = (
"mtspectrumc",
"point_spectra",
"circular_shift",
"avgerage_diagonal",
"average_diagonal",
"remove_inactive_cells",
"remove_inactive_cells_pre_task_post",
)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ac42bcf

Please sign in to comment.