Skip to content

Commit

Permalink
Messing with git
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed Jun 6, 2024
1 parent 4e617bf commit 8a24b80
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/spikeinterface/exporters/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def export_report(
# global figures
fig = plt.figure(figsize=(20, 10))
w = sw.plot_unit_locations(sorting_analyzer, figure=fig, unit_colors=unit_colors)
fig.savefig(output_folder / f"unit_localization.{format}")
fig.savefig(output_folder / f"unit_locations.{format}")
if not show_figures:
plt.close(fig)

Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/postprocessing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

from .spike_locations import compute_spike_locations, ComputeSpikeLocations

from .unit_localization import (
from .unit_locations import (
compute_unit_locations,
ComputeUnitLocations,
compute_center_of_mass,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from spikeinterface.postprocessing.unit_localization import (
from spikeinterface.postprocessing.unit_locations import (
compute_center_of_mass,
compute_monopolar_triangulation,
compute_grid_convolution,
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/sortingcomponents/peak_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
base_peak_dtype,
)

from spikeinterface.postprocessing.unit_localization import get_convolution_weights
from spikeinterface.postprocessing.unit_locations import get_convolution_weights
from ..core import get_chunk_with_margin

from .tools import make_multi_method_doc
Expand Down
8 changes: 4 additions & 4 deletions src/spikeinterface/sortingcomponents/peak_localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from spikeinterface.core import get_channel_distances

from ..postprocessing.unit_localization import (
from ..postprocessing.unit_locations import (
dtype_localize_by_method,
possible_localization_methods,
solve_monopolar_triangulation,
Expand Down Expand Up @@ -163,7 +163,7 @@ class LocalizeCenterOfMass(LocalizeBase):
Notes
-----
See spikeinterface.postprocessing.unit_localization.
See spikeinterface.postprocessing.unit_locations.
"""

need_waveforms = True
Expand Down Expand Up @@ -225,7 +225,7 @@ class LocalizeMonopolarTriangulation(PipelineNode):
Notes
-----
This method is from Julien Boussard, Erdem Varol and Charlie Windolf
See spikeinterface.postprocessing.unit_localization.
See spikeinterface.postprocessing.unit_locations.
"""

need_waveforms = False
Expand Down Expand Up @@ -316,7 +316,7 @@ class LocalizeGridConvolution(PipelineNode):
Notes
-----
See spikeinterface.postprocessing.unit_localization.
See spikeinterface.postprocessing.unit_locations.
"""

need_waveforms = True
Expand Down

0 comments on commit 8a24b80

Please sign in to comment.