get_equal_timing_copies

nrv.utils.get_equal_timing_copies(stim1, stim2)[source]

create two stimuli with equal timing as copies of the input ones

Parameters:
  • stim1 (stimulus object) – First stimulus to synchronize

  • stim2 (stimulus object) – Second object to synchronize

Returns:

  • stima (stimulus object) – copie of stim1 with timings from stim1 and stim2

  • stimb (stimulus object) – copie of stim2 with timings from stim1 and stim2