External Email - Use Caution
Hi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote:
External Email - Use CautionHi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Hi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote:
External Email - Use CautionHi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p984n56GfiG-dDR5xhGNjnw9THCns8M8O3RiJdZNEMtAoax7dRt2gea4yOXlZee8KVoMNf1Zr7PkA2CTkxU3dRqm3TWU_FE7SO-g8Nj9wS8M97IHRnQHB2PxdVLjXKUTWxGbxHebcALbaQAztqB-otalJCPfKm_DOCCaMUSyBdPQiq6c12-zEBFFag7APhVCv2F2MCVBq7BiiKmgfg96x4p58F9EqYye4FmC1rv7YPaHU6EO6Wb1HTnles6k7xs59YwTPfDoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
It uses the default parameters: tau1 = 1; tau2 = 1; ttp1 = 5*tau1; % 6 % ttp2 = 15*tau1; % 16 % c = 1/6;
On 6/1/2022 4:27 AM, Laura Doll wrote:
External Email - Use CautionHi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote:
External Email - Use CautionHi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... <https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p...
DoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Okay, thanks. But how can I find out the influence of the derivatives used? I also tried to check the beta.nii.gz files for three different versions of the analysis (-spmhrf 0 1 and 2), assuming that the weights for the derivatives might be saved as additional dimensions, but the dimensions were the same for all (163842x1x1x10).
I feel like I am missing something here, or maybe there is some mistake in my analysis? This is what I used:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0.lh -per-run -taskreg PupAvg 1
selxavg3-sess -s S05 -analysis Test0.lh
And Test1/2 with -spmhrf 1/2, respectively.
Thanks in Advance!
Laura
Am Mittwoch, 01. Juni 2022 16:50 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
It uses the default parameters: tau1 = 1; tau2 = 1; ttp1 = 5*tau1; % 6 % ttp2 = 15*tau1; % 16 % c = 1/6;
On 6/1/2022 4:27 AM, Laura Doll wrote:
External Email - Use CautionHi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote:
External Email - Use CautionHi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... <https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p...
DoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44... https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44BAWGxf63iTdPnaCZ0LkVKH311ogF5O6ZA-rF971EqNKoWeHTM93SCcVtIn01Sxg0dCYhHl2tlXU938vqq5jlYTziCepyG0dUdnEHItOR5zp_fU9ROlOjFFFgKZ_n7YazucEXrUxXROw0mlnKWD65v-WUrnRYy2L2PU0Tlyi0LxAk053Ny2MaF2p_QUQidauy5wYvnnhXsF35znryY7ciDHViJyBIBJrjnTj6Rz8RDpBlqvWJREVtByG90qiQQ1BFXgZCIWffA2qC97B8NvZMARl57SKWku-ztHitAB6w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
The -spmhrf 1 and 2 should have had additional frame in the beta.nii.gz. Is that what you are looking at?
On 6/3/2022 4:51 AM, Laura Doll wrote:
External Email - Use CautionOkay, thanks. But how can I find out the influence of the derivatives used? I also tried to check the beta.nii.gz files for three different versions of the analysis (-spmhrf 0 1 and 2), assuming that the weights for the derivatives might be saved as additional dimensions, but the dimensions were the same for all (163842x1x1x10).
I feel like I am missing something here, or maybe there is some mistake in my analysis? This is what I used:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0.lh -per-run -taskreg PupAvg 1
selxavg3-sess -s S05 -analysis Test0.lh
And Test1/2 with -spmhrf 1/2, respectively.
Thanks in Advance!
Laura
Am Mittwoch, 01. Juni 2022 16:50 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
It uses the default parameters: tau1 = 1; tau2 = 1; ttp1 = 5*tau1; % 6 % ttp2 = 15*tau1; % 16 % c = 1/6;
On 6/1/2022 4:27 AM, Laura Doll wrote:
External Email - Use CautionHi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote:
External Email - Use CautionHi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... <https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p...
DoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44... https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44BAWGxf63iTdPnaCZ0LkVKH311ogF5O6ZA-rF971EqNKoWeHTM93SCcVtIn01Sxg0dCYhHl2tlXU938vqq5jlYTziCepyG0dUdnEHItOR5zp_fU9ROlOjFFFgKZ_n7YazucEXrUxXROw0mlnKWD65v-WUrnRYy2L2PU0Tlyi0LxAk053Ny2MaF2p_QUQidauy5wYvnnhXsF35znryY7ciDHViJyBIBJrjnTj6Rz8RDpBlqvWJREVtByG90qiQQ1BFXgZCIWffA2qC97B8NvZMARl57SKWku-ztHitAB6w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Yes, I think so. That would mean, that the additional frames correspond to the weights of the derivatives, right?
But as I mentioned in the previous mail, they do have the same dimensions (in matlab, checking the beta.vol). Do you have any idea, what could have gone wrong? I double checked for Copy/Paste errors or stuff like that, but didn't find any.
These are the exact terminal entries from last week:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 1 -TR 2 -polyfit 2 -analysis TestPupAvg.lh -per-run -taskreg PupAvg 1 selxavg3-sess -s S05 -analysis TestPupAvg.lh mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0PupAvg.lh -per-run -taskreg PupAvg 1 selxavg3-sess -s S05 -analysis Test0PupAvg.lh
And I loaded the results in Matlab with beta1 = load_nifti('./S05/bold/TestPupAvg.lh/beta.nii.gz') beta0 = load_nifti('./S05/bold/Test0PupAvg.lh/beta.nii.gz')
Which results in equal beta1 and beta0.
Best, Laura
Am Freitag, 03. Juni 2022 19:04 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
The -spmhrf 1 and 2 should have had additional frame in the beta.nii.gz. Is that what you are looking at?
On 6/3/2022 4:51 AM, Laura Doll wrote:
External Email - Use CautionOkay, thanks. But how can I find out the influence of the derivatives used? I also tried to check the beta.nii.gz files for three different versions of the analysis (-spmhrf 0 1 and 2), assuming that the weights for the derivatives might be saved as additional dimensions, but the dimensions were the same for all (163842x1x1x10).
I feel like I am missing something here, or maybe there is some mistake in my analysis? This is what I used:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0.lh -per-run -taskreg PupAvg 1
selxavg3-sess -s S05 -analysis Test0.lh
And Test1/2 with -spmhrf 1/2, respectively.
Thanks in Advance!
Laura
Am Mittwoch, 01. Juni 2022 16:50 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
It uses the default parameters: tau1 = 1; tau2 = 1; ttp1 = 5*tau1; % 6 % ttp2 = 15*tau1; % 16 % c = 1/6;
On 6/1/2022 4:27 AM, Laura Doll wrote:
External Email - Use CautionHi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote:
External Email - Use CautionHi everyone,
I need some help regarding the SPM-HRF with two derivatives: Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere.
Best, Laura
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... <https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p...
DoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44... https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44BAWGxf63iTdPnaCZ0LkVKH311ogF5O6ZA-rF971EqNKoWeHTM93SCcVtIn01Sxg0dCYhHl2tlXU938vqq5jlYTziCepyG0dUdnEHItOR5zp_fU9ROlOjFFFgKZ_n7YazucEXrUxXROw0mlnKWD65v-WUrnRYy2L2PU0Tlyi0LxAk053Ny2MaF2p_QUQidauy5wYvnnhXsF35znryY7ciDHViJyBIBJrjnTj6Rz8RDpBlqvWJREVtByG90qiQQ1BFXgZCIWffA2qC97B8NvZMARl57SKWku-ztHitAB6w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1uo6vLb4Q6MLQLyMzD9STPjsMURZqYlgZ5dGWV8bqF_Umvb...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1uo6vLb4Q6MLQLyMzD9STPjsMURZqYlgZ5dGWV8bqF_Umvb... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/18o8QQM2Y6H0aKvdfjmx4Qax2XPYOX4eW3yOTMRwMgt2i_a... https://secure-web.cisco.com/18o8QQM2Y6H0aKvdfjmx4Qax2XPYOX4eW3yOTMRwMgt2i_acK_Pp8bLjeoQM6tDbY8AkzyMTimq8yIw8VWD1QAcw_o5MolcTTlfBoQtr8fHzlTqxKi0y9PVntYP0kC_L7rdoFHJWQtCdV4O7aNv3aAYcZv2GCzJtAoTVI3dn1RjWpkOo24FezI_ScxskNUo6sLi2-UaORrMoqJbSEptxO4LO5OTS0LhgIoZToQyL7AUuNisnUQuGp2y-wG9EIgbVmSzHwDaYK1eqfx_rwiDzyCN2j4P6AYW-qmZPqqELZhjQt_7G3pGc_4jMR_x8DMix5VCo4nmXVPFKKyugPSqBU7Q/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Oh, you're using a task regressor? That will not be convolved with the HRF (or its derivative). The HRF/deriv only applies to paradigm files. If you want that in your task regressor, you will have to do it yourself.
On 6/7/2022 4:08 AM, Laura Doll wrote:
External Email - Use CautionYes, I think so. That would mean, that the additional frames correspond to the weights of the derivatives, right?
But as I mentioned in the previous mail, they do have the same dimensions (in matlab, checking the beta.vol). Do you have any idea, what could have gone wrong? I double checked for Copy/Paste errors or stuff like that, but didn't find any.
These are the exact terminal entries from last week:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 1 -TR 2 -polyfit 2 -analysis TestPupAvg.lh -per-run -taskreg PupAvg 1 selxavg3-sess -s S05 -analysis TestPupAvg.lh mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0PupAvg.lh -per-run -taskreg PupAvg 1 selxavg3-sess -s S05 -analysis Test0PupAvg.lh
And I loaded the results in Matlab with beta1 = load_nifti('./S05/bold/TestPupAvg.lh/beta.nii.gz') beta0 = load_nifti('./S05/bold/Test0PupAvg.lh/beta.nii.gz')
Which results in equal beta1 and beta0.
Best, Laura
Am Freitag, 03. Juni 2022 19:04 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
The -spmhrf 1 and 2 should have had additional frame in the beta.nii.gz. Is that what you are looking at?
On 6/3/2022 4:51 AM, Laura Doll wrote:
External Email - Use CautionOkay, thanks. But how can I find out the influence of the derivatives used? I also tried to check the beta.nii.gz files for three different versions of the analysis (-spmhrf 0 1 and 2), assuming that the weights for the derivatives might be saved as additional dimensions, but the dimensions were the same for all (163842x1x1x10).
I feel like I am missing something here, or maybe there is some mistake in my analysis? This is what I used:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0.lh -per-run -taskreg PupAvg 1
selxavg3-sess -s S05 -analysis Test0.lh
And Test1/2 with -spmhrf 1/2, respectively.
Thanks in Advance!
Laura
Am Mittwoch, 01. Juni 2022 16:50 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
It uses the default parameters: tau1 = 1; tau2 = 1; ttp1 = 5*tau1; % 6 % ttp2 = 15*tau1; % 16 % c = 1/6;
On 6/1/2022 4:27 AM, Laura Doll wrote:
External Email - Use CautionHi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m
On 5/25/2022 9:19 AM, Laura Doll wrote: > External Email - Use Caution > > Hi everyone, > > I need some help regarding the SPM-HRF with two derivatives: > Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere. > > Best, > Laura > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... <https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p...
DoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44... https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44BAWGxf63iTdPnaCZ0LkVKH311ogF5O6ZA-rF971EqNKoWeHTM93SCcVtIn01Sxg0dCYhHl2tlXU938vqq5jlYTziCepyG0dUdnEHItOR5zp_fU9ROlOjFFFgKZ_n7YazucEXrUxXROw0mlnKWD65v-WUrnRYy2L2PU0Tlyi0LxAk053Ny2MaF2p_QUQidauy5wYvnnhXsF35znryY7ciDHViJyBIBJrjnTj6Rz8RDpBlqvWJREVtByG90qiQQ1BFXgZCIWffA2qC97B8NvZMARl57SKWku-ztHitAB6w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1uo6vLb4Q6MLQLyMzD9STPjsMURZqYlgZ5dGWV8bqF_Umvb...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1uo6vLb4Q6MLQLyMzD9STPjsMURZqYlgZ5dGWV8bqF_Umvb... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/18o8QQM2Y6H0aKvdfjmx4Qax2XPYOX4eW3yOTMRwMgt2i_a... https://secure-web.cisco.com/18o8QQM2Y6H0aKvdfjmx4Qax2XPYOX4eW3yOTMRwMgt2i_acK_Pp8bLjeoQM6tDbY8AkzyMTimq8yIw8VWD1QAcw_o5MolcTTlfBoQtr8fHzlTqxKi0y9PVntYP0kC_L7rdoFHJWQtCdV4O7aNv3aAYcZv2GCzJtAoTVI3dn1RjWpkOo24FezI_ScxskNUo6sLi2-UaORrMoqJbSEptxO4LO5OTS0LhgIoZToQyL7AUuNisnUQuGp2y-wG9EIgbVmSzHwDaYK1eqfx_rwiDzyCN2j4P6AYW-qmZPqqELZhjQt_7G3pGc_4jMR_x8DMix5VCo4nmXVPFKKyugPSqBU7Q/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Good to know, thanks!
Am Donnerstag, 09. Juni 2022 10:22 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
Oh, you're using a task regressor? That will not be convolved with the HRF (or its derivative). The HRF/deriv only applies to paradigm files. If you want that in your task regressor, you will have to do it yourself.
On 6/7/2022 4:08 AM, Laura Doll wrote:
External Email - Use CautionYes, I think so. That would mean, that the additional frames correspond to the weights of the derivatives, right?
But as I mentioned in the previous mail, they do have the same dimensions (in matlab, checking the beta.vol). Do you have any idea, what could have gone wrong? I double checked for Copy/Paste errors or stuff like that, but didn't find any.
These are the exact terminal entries from last week:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 1 -TR 2 -polyfit 2 -analysis TestPupAvg.lh -per-run -taskreg PupAvg 1 selxavg3-sess -s S05 -analysis TestPupAvg.lh mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0PupAvg.lh -per-run -taskreg PupAvg 1 selxavg3-sess -s S05 -analysis Test0PupAvg.lh
And I loaded the results in Matlab with beta1 = load_nifti('./S05/bold/TestPupAvg.lh/beta.nii.gz') beta0 = load_nifti('./S05/bold/Test0PupAvg.lh/beta.nii.gz')
Which results in equal beta1 and beta0.
Best, Laura
Am Freitag, 03. Juni 2022 19:04 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
The -spmhrf 1 and 2 should have had additional frame in the beta.nii.gz. Is that what you are looking at?
On 6/3/2022 4:51 AM, Laura Doll wrote:
External Email - Use CautionOkay, thanks. But how can I find out the influence of the derivatives used? I also tried to check the beta.nii.gz files for three different versions of the analysis (-spmhrf 0 1 and 2), assuming that the weights for the derivatives might be saved as additional dimensions, but the dimensions were the same for all (163842x1x1x10).
I feel like I am missing something here, or maybe there is some mistake in my analysis? This is what I used:
mkanalysis-sess -fsd bold -stc siemens -surface fsaverage lh -fwhm 5 -notask -spmhrf 0 -TR 2 -polyfit 2 -analysis Test0.lh -per-run -taskreg PupAvg 1
selxavg3-sess -s S05 -analysis Test0.lh
And Test1/2 with -spmhrf 1/2, respectively.
Thanks in Advance!
Laura
Am Mittwoch, 01. Juni 2022 16:50 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
It uses the default parameters: tau1 = 1; tau2 = 1; ttp1 = 5*tau1; % 6 % ttp2 = 15*tau1; % 16 % c = 1/6;
On 6/1/2022 4:27 AM, Laura Doll wrote:
External Email - Use CautionHi Doug,
Thanks for your hint where to find the actual function. But how can I find which values were used in my analysis? I.e. the input to this function?
Best, Laura
Am Dienstag, 31. Mai 2022 17:19 CEST, "Douglas N. Greve" dgreve@MGH.HARVARD.EDU schrieb:
> Look here $FREESURFER/fsfast/toolbox/fast_spmhrf.m > > On 5/25/2022 9:19 AM, Laura Doll wrote: >> External Email - Use Caution >> >> Hi everyone, >> >> I need some help regarding the SPM-HRF with two derivatives:
>> Where can I find the actual function that was used for the analysis? I am mostly interested in the peak latency, but would also appreciate if I can check the other parameters of the function somewhere. >> >> Best, >> Laura >> >> >> _______________________________________________ >> Freesurfer mailing list >> Freesurfer@nmr.mgh.harvard.edu >> https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://secure-web.cisco.com/1xTlG-Uyb1U2QOCkOd7SM_GM-P5ioVq3Xn-ZIBk2jMCvLgt... > The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... <https://secure-web.cisco.com/1rmpvCcfVFDGqLo0LGNPuBTY2MFdv4E2_gcyoqa-EMXdV9p... DoGDj14oKEg1F/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
> Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail. >
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/15MwAfVGnUqKN7rT-xVNnq5illbu0B1pfauCA2TYbEqzDMt... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44... https://secure-web.cisco.com/1Qi6ElK_fjwy94vTv9KiwGpNGl5QMcdQzbSns5CIjq6mQ44BAWGxf63iTdPnaCZ0LkVKH311ogF5O6ZA-rF971EqNKoWeHTM93SCcVtIn01Sxg0dCYhHl2tlXU938vqq5jlYTziCepyG0dUdnEHItOR5zp_fU9ROlOjFFFgKZ_n7YazucEXrUxXROw0mlnKWD65v-WUrnRYy2L2PU0Tlyi0LxAk053Ny2MaF2p_QUQidauy5wYvnnhXsF35znryY7ciDHViJyBIBJrjnTj6Rz8RDpBlqvWJREVtByG90qiQQ1BFXgZCIWffA2qC97B8NvZMARl57SKWku-ztHitAB6w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1uo6vLb4Q6MLQLyMzD9STPjsMURZqYlgZ5dGWV8bqF_Umvb...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1uo6vLb4Q6MLQLyMzD9STPjsMURZqYlgZ5dGWV8bqF_Umvb... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/18o8QQM2Y6H0aKvdfjmx4Qax2XPYOX4eW3yOTMRwMgt2i_a... https://secure-web.cisco.com/18o8QQM2Y6H0aKvdfjmx4Qax2XPYOX4eW3yOTMRwMgt2i_acK_Pp8bLjeoQM6tDbY8AkzyMTimq8yIw8VWD1QAcw_o5MolcTTlfBoQtr8fHzlTqxKi0y9PVntYP0kC_L7rdoFHJWQtCdV4O7aNv3aAYcZv2GCzJtAoTVI3dn1RjWpkOo24FezI_ScxskNUo6sLi2-UaORrMoqJbSEptxO4LO5OTS0LhgIoZToQyL7AUuNisnUQuGp2y-wG9EIgbVmSzHwDaYK1eqfx_rwiDzyCN2j4P6AYW-qmZPqqELZhjQt_7G3pGc_4jMR_x8DMix5VCo4nmXVPFKKyugPSqBU7Q/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/11dzwPv60Sv8JLbaWQ1QrqbernkrH3T78Zy1Mc-jAbGbZWk...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/11dzwPv60Sv8JLbaWQ1QrqbernkrH3T78Zy1Mc-jAbGbZWk... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1_qJvusTRCTlRz045sy7VbvVuGHwAWe-TEZ1-_lP5JyPqaD... https://secure-web.cisco.com/1_qJvusTRCTlRz045sy7VbvVuGHwAWe-TEZ1-_lP5JyPqaDlUNdJue0iN9CitxgucgPT6GPdFinPmIJ3zxC5ikbjVLNG2taLK-lS8Mfrx0dMbUNz9aaNXchKymldwzZen-KuMcIG081_tLkTZIcHtw8ifvqbUyXJ_LvxEtuAOrhfepQbgpPaDGkvgRA7NnGO08lZUY-fXSt5_Jsn0LIW1P7zoZAjFMntg2zOAzaL0C1o0mvwzmd1oVUu_9LXXHkVzZgntZlrRKrDeEXnucVVnA7h_0Kgq1KNuyDWI7Ws3YFuR9kiH0zkrztxRAMDpL04Zip2euPFJvwmcXr1Ukaf5wA/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
freesurfer@nmr.mgh.harvard.edu