Stimulate duration is not equal to that set in code April 16, 2021 12:57AM |
Registered: 3 years ago Posts: 19 |
Re: Stimulate duration is not equal to that set in code April 16, 2021 06:16AM |
Admin Registered: 5 years ago Posts: 883 |
Re: Stimulate duration is not equal to that set in code April 18, 2021 09:31PM |
Registered: 3 years ago Posts: 19 |
Re: Stimulate duration is not equal to that set in code April 19, 2021 09:29AM |
Admin Registered: 5 years ago Posts: 883 |
Re: Stimulate duration is not equal to that set in code April 22, 2021 01:03AM |
Registered: 3 years ago Posts: 19 |
Re: Stimulate duration is not equal to that set in code April 22, 2021 04:42PM |
Admin Registered: 5 years ago Posts: 883 |
y = repmat([5 5 5 5 0 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0]',40,1); fs = 4000; save('waveform1.mat','y','fs');Then you can write a script like this.
fix1 = SingleTarget(joy_); fix1.Target = CentPoint; fix1.Threshold = 3; holdCent = WaitThenHold(fix1); holdCent.WaitTime = 10000; holdCent.HoldTime = time_centHold; scene1 = create_scene(holdCent); stim1 = Stimulator(null_); stim1.Channel = 1; stim1.Waveform = 'waveform1.mat'; scene2 = create_scene(stim1); run_scene(scene1); if holdCent.Success run_scene(scene2); end
Re: Stimulate duration is not equal to that set in code April 24, 2021 10:16PM |
Registered: 3 years ago Posts: 19 |
The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.