Skip to content

Commit 6bcd2e6

Browse files
authored
Merge pull request #3115 from cwindolf/drift_hybrid_bug
Out-of-place multiply needed when using amplitude scaling in the drifty hybrid recording
2 parents f8b638e + 790011a commit 6bcd2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spikeinterface/generation/drift_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def get_traces(
567567

568568
wf = template[start_template:end_template]
569569
if self.amplitude_vector is not None:
570-
wf *= self.amplitude_vector[i]
570+
wf = wf * self.amplitude_vector[i]
571571
traces[start_traces:end_traces] += wf.astype(self.dtype, copy=False)
572572

573573
return traces.astype(self.dtype)

0 commit comments

Comments
 (0)