-
Notifications
You must be signed in to change notification settings - Fork 1
Description
There are currently 3 versions of "batch_erp_plot_traces_by_cond" in the GP folder.
It looks like the differences between these 3 versions (apart from changes in figure titles) is that they compute the tactile suppression in different ways.
Original version seems to do both/(index + middle) and takes log2 of that.
_2 version - uses a movemean approach:
sm_grp_im = movmean(grp_im,n_pts,2);
sm_grp_im_b = movmean(grp_im-grp_both,n_pts,2);
grp_rtio = sm_grp_im_b ./ sm_grp_im;
_2 version also has an unused function "derive"
_3 version - uses a percent change approach - and also has a support function "norm_b_by_im" which isn't being used except in a commented line in the code
If each of these are valid ways we would interpret the TSS findings moving forward (or that we'd stick with the original version but provide support to compute it the other ways) could you:
- Define a function in the helper folder that's something like "compute_TSS_by_method(method)" that takes in an input of 1-3 which refer to the above options
- Archive versions 2 and 3