Skip to content

Commit 99431b5

Browse files
committed
make some playing with debugging.
1 parent ec9c7f1 commit 99431b5

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/spikeinterface/generation/debugging/debugging_session_displacement.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
rec_list, _ = generate_inter_session_displacement_recordings(
5656
non_rigid_gradient=None, # 0.05,
57-
num_units=5,
57+
num_units=1,
5858
rec_durations=(25, 25, 25), # TODO: checks on inputs
5959
rec_shifts=(
6060
0,
@@ -102,3 +102,15 @@
102102
# TODO: I think it is OK when it goes over the edge, just need to check explicitly what happens.
103103
# It will be greater than margin, etc. Is it explicitly clipped or just allowed to go outside of range?
104104
# I guess this will ignore the margin. That's fine. I think here is it just going outside of range.
105+
106+
107+
# Tests plan
108+
109+
# 1) when generated with zero shift, this should be the same as GenerateTemplate!
110+
# 2) Generate with a single shift. The templates should be identical
111+
# across all records. The only thing that should be different is
112+
# the unit locations parameter. It should be on the recording and sorting.
113+
# test both rigid and nonrigid. Test the unit locations exactly.
114+
# 3) try generating with multiple shifts.
115+
# 4) Do like 1 unit, find peak and peak locations. Check the avg moves as expected!
116+
# 5) check durations, check all new input arguments.

0 commit comments

Comments
 (0)