Sure, that’s close. (I get 158.787, 200.93, and 243.073). Make sure you use the actual number of frames in the first run (to properly determine the correct offset in the case that the first emotion run was aborted a little early). i.e., don’t assume that the first emotion run will *always* have 176 frames.
Cheers, -MH -- Michael Harms, Ph.D. ----------------------------------------------------------- Conte Center for the Neuroscience of Mental Disorders Washington University School of Medicine Department of Psychiatry, Box 8134 660 South Euclid Ave. Tel: 314-747-6173 St. Louis, MO 63110 Email: mha...@wustl.edu From: David Hofmann <davidhofma...@gmail.com> Date: Wednesday, February 28, 2018 at 7:50 AM To: "Harms, Michael" <mha...@wustl.edu> Cc: "Glasser, Matthew" <glass...@wustl.edu>, hcp-users <hcp-users@humanconnectome.org> Subject: Re: [HCP-Users] Concatenate sessions from Emotion task Hi Michael, there is an SPM function that handles the concatenation by adding session regressors and adjusting the high-pass filter. I'm still pondering if I want to include a regressor that accounts for the transition between sessions, but not sure how it would look like. Any ideas on that? Ok, that sounds easy :). TR=0.72 and number of volumes in the emotion task is: 176 My onsets of session 2 are: 32.067 74.21 116.353 So I will just add: 0.72*176=126,72 to all onsets and get: 158,800 200,943 243,085 Can you confirm I got this right? greetings David 2018-02-27 16:01 GMT+01:00 Harms, Michael <mha...@wustl.edu<mailto:mha...@wustl.edu>>: Well, you know the TR, and the number of frames in the first run, so just add the product of those two to the times in the 2nd run (unless you are manually deleting additional frames at the start of either run). Cheers, -MH -- Michael Harms, Ph.D. ----------------------------------------------------------- Conte Center for the Neuroscience of Mental Disorders Washington University School of Medicine Department of Psychiatry, Box 8134 660 South Euclid Ave<https://maps.google.com/?q=660+South+Euclid+Ave&entry=gmail&source=g>. Tel: 314-747-6173<tel:(314)%20747-6173> St. Louis, MO 63110 Email: mha...@wustl.edu<mailto:mha...@wustl.edu> From: <hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>> on behalf of David Hofmann <davidhofma...@gmail.com<mailto:davidhofma...@gmail.com>> Date: Tuesday, February 27, 2018 at 7:48 AM To: "Glasser, Matthew" <glass...@wustl.edu<mailto:glass...@wustl.edu>> Cc: hcp-users <hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>> Subject: Re: [HCP-Users] Concatenate sessions from Emotion task Hi Matthew, I basically want to have one file, that is the concatenation of the RL and LR files and one file with the onsets for the fear and neut conditions for both sessions. For example, subject 100206 has one fear.txt file for each session with the following block onsets: 32.08 18 1 74.223 18 1 116.365 18 1 for the first session and 32.067 18 1 74.21 18 1 116.353 18 1 for the second session Now, after concatenation of the data files, I have to adjust the onsets of the second session, such that all onsets are now greater than the last onset of the first session (116.365). Basically, just add some value to the onsets of the second session. This will depend on the number of "dummy volumes" at the end of the first session and begin of the second session asf. I'm using SPM so I don't think concatenating the design files will work here. Hope it became clear what I mean. Thanks! 2018-02-27 14:01 GMT+01:00 Glasser, Matthew <glass...@wustl.edu<mailto:glass...@wustl.edu>>: Is this a question of what to do with the images? Presumably for the design you could just concatenate the design files after generation and the image files after demean and hp200 or detrend. Peace, Matt. From: <hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>> on behalf of David Hofmann <davidhofma...@gmail.com<mailto:davidhofma...@gmail.com>> Date: Tuesday, February 27, 2018 at 4:52 AM To: hcp-users <hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>> Subject: [HCP-Users] Concatenate sessions from Emotion task Hi all, I would like to concatenate the RL and LR files from the Emotion task (modelling the sessions separately is not an option for the analysis I want to do later on) and thus have to change the onsets in fear.txt and neu.txt for the second session accordingly. I'm not quite sure how to do this properly and hope for some guidance. Many thanks in advance David _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org> http://lists.humanconnectome.org/mailman/listinfo/hcp-users _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org> http://lists.humanconnectome.org/mailman/listinfo/hcp-users ________________________________ The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail. ________________________________ The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail. _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users