-
Notifications
You must be signed in to change notification settings - Fork 228
Description
In some places it would be cool to test that certain processing steps are respecting the user-set times on a recording object (e.g. with set_times()). Ideally it would be nice to do this through generating test recordings with generate_ground_truth_recording() but as far as I can tell this is not possible. set_times() can be called on the generated recording object, but the spike times in the sorting object would then be wrong, and there is no set_times() on the sorting object (which makes sense).
Would it be okay to add this functionality to generate_ground_truth_recording()? (e.g. a set_times=[(t_start or time_array), (one for each segment)]). This would add times to the generated recording and then make sure the sorting is generated with respect to these timings.
Happy to open a PR but first wanted to check this is okay / there are any reasons not to do this?