Skip to content

Commit

Permalink
Remove unit_params_range from generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed Jul 2, 2024
1 parent 4539550 commit 91c8ac6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/spikeinterface/core/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,6 @@ def generate_templates(
dtype="float32",
upsample_factor=None,
unit_params=None,
unit_params_range=None,
mode="ellipsoid",
):
"""
Expand Down Expand Up @@ -1497,9 +1496,7 @@ def generate_templates(
* (num_units, num_samples, num_channels, upsample_factor) if upsample_factor is not None
"""

unit_params = unit_params or dict()
unit_params_range = unit_params_range or dict()
rng = np.random.default_rng(seed=seed)

# neuron location must be 3D
Expand Down

0 comments on commit 91c8ac6

Please sign in to comment.