Combination of Concurrent and Sequential December 15, 2022 01:04PM |
Registered: 1 year ago Posts: 14 |
Re: Combination of Concurrent and Sequential December 15, 2022 01:43PM |
Admin Registered: 5 years ago Posts: 878 |
t11 = TimeCounter(null_); t11.Duration = 300; t12 = TimeCounter(null_); t12.Duration = 300; t13 = TimeCounter(null_); t13.Duration = 300; t14 = TimeCounter(null_); t14.Duration = 300; t15 = TimeCounter(null_); t15.Duration = 300; t16 = TimeCounter(null_); t16.Duration = 400; seq1 = Sequential(t11); seq1.add(t12); seq1.add(t13); seq1.add(t14); seq1.add(t15); seq1.add(t16); seq1.EventMarker = [11 12 13 14 15 16]; t21 = TimeCounter(null_); t21.Duration = 400; t22 = TimeCounter(null_); t22.Duration = 300; t23 = TimeCounter(null_); t23.Duration = 300; t24 = TimeCounter(null_); t24.Duration = 300; t25 = TimeCounter(null_); t25.Duration = 300; t26 = TimeCounter(null_); t26.Duration = 300; seq2 = Sequential(t21); seq2.add(t22); seq2.add(t23); seq2.add(t24); seq2.add(t25); seq2.add(t26); seq2.EventMarker = [21 22 23 24 25 26]; con = Concurrent(seq1); con.add(seq2); scene = create_scene(con); run_scene(scene);
Re: Combination of Concurrent and Sequential December 16, 2022 10:20AM |
Registered: 1 year ago Posts: 14 |
% fixation fix1 = SingleTarget(eye_); % fixation period fix1.Target = fixation_point; fix1.Threshold = fix_window; lh1 = LooseHold(fix1); lh1.HoldTime = 1900; lh1.BreakTime = 50; % color sequence first cue seq_mov1 = MovieGraphic(null_); seq_mov1.List = { 'central.mp4', [0 -2], 1}; seq_tl1 = TimeCounter(seq_mov1); seq_tl1.Duration = 400; seq_mov2 = MovieGraphic(null_); seq_mov2.List = { 'left.mp4', [0 -2], 1}; seq_tl2 = TimeCounter(seq_mov2); seq_tl2.Duration = 300; seq_mov3 = MovieGraphic(null_); seq_mov3.List = { 'central.mp4', [0 -2], 1}; seq_tl3 = TimeCounter(seq_mov3); seq_tl3.Duration = 300; seq_mov4 = MovieGraphic(null_); seq_mov4.List = { 'right.mp4', [0 -2], 1}; seq_tl4 = TimeCounter(seq_mov4); seq_tl4.Duration = 300; seq_mov5 = MovieGraphic(null_); seq_mov5.List = { 'central.mp4', [0 -2], 1}; seq_tl5 = TimeCounter(seq_mov5); seq_tl5.Duration = 300; seq_mov5 = MovieGraphic(null_); seq_mov6.List = { 'right.mp4', [0 -2], 1}; seq_tl6 = TimeCounter(seq_mov5); seq_tl6.Duration = 300; cue_mseq = Sequential(seq_tl1); cue_mseq.add(seq_tl2); cue_mseq.add(seq_tl3); cue_mseq.add(seq_tl4); cue_mseq.add(seq_tl5); cue_mseq.add(seq_tl6); cue_mseq.EventMarker = [11 12 13 14 15 16]; blank_tl1 = TimeCounter(null_); blank_tl1.Duration = 300; blank_tl2 = TimeCounter(null_); blank_tl2.Duration = 300; blank_tl3 = TimeCounter(null_); blank_tl3.Duration = 300; led1 = LEDOutput(TrialRecord, null_); led1.Target = cue_1; led1_tl = TimeCounter(led1); led1_tl.Duration = 300; led2 = LEDOutput(TrialRecord, null_); led2.Target = cue_2; led2_tl = TimeCounter(led2); led2_tl.Duration = 300; opt1 = LEDOutput(TrialRecord, null_); opt1.Target = cued_LED; opt1_tl = TimeCounter(opt1); opt1_tl.Duration = 400; opt2 = LEDOutput(TrialRecord, null_); opt2.Target = uncued_LED; opt2_tl = TimeCounter(opt2); opt2_tl.Duration = 400; opts_conc = Concurrent(opt1_tl); opts_conc.add(opt2_tl); LED_seq = Sequential(blank_tl1); LED_seq.add(led1_tl); LED_seq.add(blank_tl2); LED_seq.add(led2_tl); LED_seq.add(blank_tl3); LED_seq.add(opts_conc); LED_seq.EventMarker = [21 22 23 24 25 26]; fix_conc = Concurrent(lh1); fix_conc.add(LED_seq); fix_conc.add(cue_mseq); scene1 = create_scene(fix_conc, fixation_point);
Re: Combination of Concurrent and Sequential December 16, 2022 11:51AM |
Admin Registered: 5 years ago Posts: 878 |
Re: Combination of Concurrent and Sequential December 20, 2022 10:24AM |
Registered: 1 year ago Posts: 14 |
Re: Combination of Concurrent and Sequential December 20, 2022 01:39PM |
Admin Registered: 5 years ago Posts: 878 |
Re: Combination of Concurrent and Sequential December 21, 2022 05:20AM |
Registered: 1 year ago Posts: 14 |
Re: Combination of Concurrent and Sequential December 21, 2022 07:56AM |
Admin Registered: 5 years ago Posts: 878 |
Re: Combination of Concurrent and Sequential December 22, 2022 04:54AM |
Registered: 1 year ago Posts: 14 |
Re: Combination of Concurrent and Sequential January 05, 2023 04:54AM |
Admin Registered: 5 years ago Posts: 878 |
Re: Combination of Concurrent and Sequential January 13, 2023 11:19AM |
Registered: 1 year ago Posts: 14 |
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.