Skip to content

Commit

Permalink
make some playing with debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed Jul 29, 2024
1 parent ec9c7f1 commit 99431b5
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

rec_list, _ = generate_inter_session_displacement_recordings(
non_rigid_gradient=None, # 0.05,
num_units=5,
num_units=1,
rec_durations=(25, 25, 25), # TODO: checks on inputs
rec_shifts=(
0,
Expand Down Expand Up @@ -102,3 +102,15 @@
# TODO: I think it is OK when it goes over the edge, just need to check explicitly what happens.
# It will be greater than margin, etc. Is it explicitly clipped or just allowed to go outside of range?
# I guess this will ignore the margin. That's fine. I think here is it just going outside of range.


# Tests plan

# 1) when generated with zero shift, this should be the same as GenerateTemplate!
# 2) Generate with a single shift. The templates should be identical
# across all records. The only thing that should be different is
# the unit locations parameter. It should be on the recording and sorting.
# test both rigid and nonrigid. Test the unit locations exactly.
# 3) try generating with multiple shifts.
# 4) Do like 1 unit, find peak and peak locations. Check the avg moves as expected!
# 5) check durations, check all new input arguments.

0 comments on commit 99431b5

Please sign in to comment.