<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://www.nitrc.org/export/rss20_forum.php?forum_id=8907" ?>
<?xml-stylesheet type="text/css" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC Resting State Hemodynamic Response Function Retrieval and Deconvolution (RS-HRF) Forum: help</title>
  <link>http://www.nitrc.org/forum/forum.php?forum_id=8907</link>
  <description>Get Public Help</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Wed, 15 Apr 2026 13:51:09 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>RE: Assistance with rs-HRF Toolbox for HRF Estimation from ROI Time Series</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;Indeed it's supposed that when the data has been already organized in ROIs, the nuisance regression has been made already. The temporal mask can be defined from the framewise displacement, as explained on page 8 of the matlab manual. It indicates if there are points in time that should be excluded (akin to the &amp;quot;scrubbing&amp;quot; approach by Power et al.)&amp;lt;/p&amp;gt;</description>
   <author>daniele marinazzo</author>
   <pubDate>Thu, 20 Feb 2025 11:10:37 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Assistance with rs-HRF Toolbox for HRF Estimation from ROI Time Series</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</link>
   <description>&amp;lt;p data-start=&amp;quot;172&amp;quot; data-end=&amp;quot;190&amp;quot;&amp;gt;Dear Guorong Wu,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;192&amp;quot; data-end=&amp;quot;253&amp;quot;&amp;gt;Thank you again for this information, I truly appreciate it.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;255&amp;quot; data-end=&amp;quot;509&amp;quot;&amp;gt;After reviewing the documentation in detail, I have some ambiguity regarding the &amp;lt;strong data-start=&amp;quot;336&amp;quot; data-end=&amp;quot;352&amp;quot;&amp;gt;nuisance.txt&amp;lt;/strong&amp;gt; file. Specifically, when working with &amp;lt;strong data-start=&amp;quot;391&amp;quot; data-end=&amp;quot;427&amp;quot;&amp;gt;ROI signals stored in .mat files&amp;lt;/strong&amp;gt;, is it correct that there is no need to download this regression variable file?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;511&amp;quot; data-end=&amp;quot;618&amp;quot;&amp;gt;Additionally, could you please clarify how I can define the &amp;lt;strong data-start=&amp;quot;571&amp;quot; data-end=&amp;quot;588&amp;quot;&amp;gt;temporal mask&amp;lt;/strong&amp;gt; to exclude spurious events?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;620&amp;quot; data-end=&amp;quot;689&amp;quot;&amp;gt;Thanks again,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;691&amp;quot; data-end=&amp;quot;713&amp;quot;&amp;gt;Best,&amp;lt;br data-start=&amp;quot;704&amp;quot; data-end=&amp;quot;707&amp;quot;&amp;gt;Abir&amp;lt;/p&amp;gt;</description>
   <author>abir</author>
   <pubDate>Thu, 20 Feb 2025 10:52:00 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Assistance with rs-HRF Toolbox for HRF Estimation from ROI Time Series</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;ensure the ROI signals matrix is structured as (time points)*(number of ROIs)&amp;lt;/p&amp;gt;</description>
   <author>guorong wu</author>
   <pubDate>Tue, 18 Feb 2025 13:54:03 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Assistance with rs-HRF Toolbox for HRF Estimation from ROI Time Series</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</link>
   <description>&amp;lt;p data-start=&amp;quot;63&amp;quot; data-end=&amp;quot;81&amp;quot;&amp;gt;Dear Guorong Wu,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;83&amp;quot; data-end=&amp;quot;148&amp;quot;&amp;gt;Thank you for your clarifications, they are greatly appreciated.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;150&amp;quot; data-end=&amp;quot;389&amp;quot;&amp;gt;I encountered another issue after preprocessing the fMRI data using the CONN toolbox. I obtained a single &amp;lt;strong data-start=&amp;quot;256&amp;quot; data-end=&amp;quot;266&amp;quot;&amp;gt;rp.txt&amp;lt;/strong&amp;gt; file for regressors, and for each subject, I obtained an &amp;lt;strong data-start=&amp;quot;324&amp;quot; data-end=&amp;quot;335&amp;quot;&amp;gt;ROI.mat&amp;lt;/strong&amp;gt; file containing time series for all segmented ROIs.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;391&amp;quot; data-end=&amp;quot;648&amp;quot;&amp;gt;To model the HRF response for the DMN, I extracted the time series corresponding to the DMN from the &amp;lt;strong data-start=&amp;quot;492&amp;quot; data-end=&amp;quot;503&amp;quot;&amp;gt;ROI.mat&amp;lt;/strong&amp;gt; file. However, when I ran the &amp;lt;strong data-start=&amp;quot;534&amp;quot; data-end=&amp;quot;551&amp;quot;&amp;gt;rsHRF toolbox&amp;lt;/strong&amp;gt;, I encountered an error indicating a &amp;lt;strong data-start=&amp;quot;589&amp;quot; data-end=&amp;quot;645&amp;quot;&amp;gt;size mismatch between rp.txt and DMN_time_series.mat&amp;lt;/strong&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;650&amp;quot; data-end=&amp;quot;696&amp;quot;&amp;gt;Could you please help me resolve this issue?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;698&amp;quot; data-end=&amp;quot;725&amp;quot; data-is-last-node=&amp;quot;&amp;quot;&amp;gt;Best regards,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;698&amp;quot; data-end=&amp;quot;725&amp;quot; data-is-last-node=&amp;quot;&amp;quot;&amp;gt;Abir.&amp;lt;/p&amp;gt;</description>
   <author>abir</author>
   <pubDate>Tue, 18 Feb 2025 13:34:24 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Assistance with rs-HRF Toolbox for HRF Estimation from ROI Time Series</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;you should select 'Signals' for ROI time series analysis.&amp;lt;/p&amp;gt;</description>
   <author>guorong wu</author>
   <pubDate>Tue, 18 Feb 2025 5:34:58 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>Assistance with rs-HRF Toolbox for HRF Estimation from ROI Time Series</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</link>
   <description>&amp;lt;p data-start=&amp;quot;87&amp;quot; data-end=&amp;quot;102&amp;quot;&amp;gt;Dear Experts,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;104&amp;quot; data-end=&amp;quot;234&amp;quot;&amp;gt;I recently discovered the&amp;lt;strong&amp;gt; &amp;lt;/strong&amp;gt;rs-HRF toolbox for estimating and modeling the&amp;lt;strong&amp;gt; &amp;lt;/strong&amp;gt;resting-state HRF from resting-state fMRI data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;236&amp;quot; data-end=&amp;quot;486&amp;quot;&amp;gt;I have successfully installed rs-HRF on SPM in MATLAB and followed the tutorials and documentation. However, I couldn't find clear instructions on estimating the HRF from .mat files containing preprocessed time series for each ROI.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;488&amp;quot; data-end=&amp;quot;662&amp;quot;&amp;gt;Could you please clarify&amp;lt;strong&amp;gt; &amp;lt;/strong&amp;gt;which option I should select in the GUI (Voxels, ROI volume, Signals, Vertices, etc.) to estimate the HRF from my ROI time series?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;664&amp;quot; data-end=&amp;quot;709&amp;quot;&amp;gt;Your guidance would be greatly appreciated.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;711&amp;quot; data-end=&amp;quot;738&amp;quot; data-is-last-node=&amp;quot;&amp;quot;&amp;gt;Best regards,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p data-start=&amp;quot;711&amp;quot; data-end=&amp;quot;738&amp;quot; data-is-last-node=&amp;quot;&amp;quot;&amp;gt;Abir.&amp;lt;/p&amp;gt;</description>
   <author>abir</author>
   <pubDate>Mon, 17 Feb 2025 13:35:05 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15621&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Statistical analysis </title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15140&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;Hi&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sorry for the late reply. You can extract some shape parameters (width, height, time to peak) and use them as (individual or multiple) voxel-wise dependent variables, or use the full shape of the HRF, for example using AFNI's 3dMVM or 3dMSS.&amp;lt;/p&amp;gt;</description>
   <author>daniele marinazzo</author>
   <pubDate>Wed, 26 Jun 2024 8:21:25 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15140&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Batch editing</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15207&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Following the idea of choosing the most agnostic function, would you suggest to use the smoothed FIR instead of the standard FIR?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;Both options are possible, sFIR allows for more spatial smoothing.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Based on the function selected, could the default parameter (32) for HRF's length be ok as a standard value or does it need to be optimised&amp;lt;/em&amp;gt;?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;This is measured in seconds, so it's automatically adjusted to the TR. If for some reason you expert your HRF to be longer than 32 seconds (or much shorter), you can change this.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;I still have some doubt about the meaning of k. Could be the default value (k=2) a good choice?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;It's the range over which we search for the optimal lag (in TRs) between a pseudo-event and the HRF onset. The default is ok, unless you have a very short TR (0.2s or so).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;we preprocessed rs-fMRI data using CONN toolbox. Which nuisance covariates in your opinion should be insered in the batch?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;&amp;amp;nbsp;If CONN is used for denoising, simply skip the denoising step in rsHRF (again, the default opinion is to do nothing). The order of processing might have an influence https://royalsocietypublishing.org/doi/10.1098/rsta.2015.0190&amp;lt;/p&amp;gt;</description>
   <author>daniele marinazzo</author>
   <pubDate>Wed, 26 Jun 2024 8:18:52 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15207&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Batch editing</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15207&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;Dear Daniele,&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Thank you for your kind reply.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Based on your feedback we'll adopt the FIR function. Following the idea of choosing the most agnostic function, would you suggest to use the smoothed FIR instead of the standard FIR?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Based on the function selected, could the default parameter (32) for HRF's length be ok as a standard value or does it need to be optimised?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;&amp;lt;em&amp;gt;See eq. [3] of the tutorial paper, where K is defined as the range of x values in which we look for a peak.:&amp;amp;nbsp;&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;&amp;lt;em&amp;gt;y(i) is defined as peak: y(i)&amp;amp;gt;y(i+x),&amp;amp;nbsp; x=[-K: K];&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;/em&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Thank you for the explanation. However, I still have some doubt about the meaning of k. Could be the default value (k=2) a good choice?&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;yj6qo ajU&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Then, before the estimation of the HRF, we preprocessed rs-fMRI data using CONN toolbox. Which nuisance covariates in your opinion should be insered in the batch?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Thank you so much for your help&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Sincerely&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Beatrice&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Originally posted by daniele marinazzo:&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Dear Beatrice&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;thanks for your questions, please see some replies inline below&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;First, is there a way to choose the best HRF basis function based on my data?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;There's no universal rule. The gamma mixtures will best reproduce a wide variety of shapes. FIR is more agnostic and data driven, and possibly more suitable if your target property is the whole hrf shape, for example with afni 3dMSS. It's also more suitable for unusual shapes, like animal or pathology.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Could be a correct approach to estimate both canonical and gamma functions and then compare them? If so, how should I do it operatively?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;Unless there's a &amp;quot;ground truth&amp;quot; to compare to, then it's difficult. Indicators such as spatial or temporal variance can be useful though.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;In the case of gamma function, how can I estimate the number of basis functions?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;It's a choice you make, rather than an estimation. To avoid overfitting, the number should not be too high.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;In Threshold (SD) for event detection should I change the value (i.e 1)? (considering both the options: canonical and gamma function)&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;This is not necessary, but it's indeed a parameter that you can choose to tune.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Also, what is K (local peak)? How is it calculated?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;See eq. [3] of the tutorial paper, where K is defined as the range of x values in which we look for a peak.:&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;y(i) is defined as peak: y(i)&amp;amp;gt;y(i+x),&amp;amp;nbsp; x=[-K: K];&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;yj6qo ajU&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I hope this helps&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>lxop</author>
   <pubDate>Tue, 25 Jun 2024 10:33:21 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15207&amp;forum_id=8907</guid>
  </item>
  <item>
   <title>RE: Batch editing</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15207&amp;forum_id=8907</link>
   <description>&amp;lt;p&amp;gt;Dear Beatrice&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;thanks for your questions, please see some replies inline below&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;First, is there a way to choose the best HRF basis function based on my data?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;There's no universal rule. The gamma mixtures will best reproduce a wide variety of shapes. FIR is more agnostic and data driven, and possibly more suitable if your target property is the whole hrf shape, for example with afni 3dMSS. It's also more suitable for unusual shapes, like animal or pathology.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Could be a correct approach to estimate both canonical and gamma functions and then compare them? If so, how should I do it operatively?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;Unless there's a &amp;quot;ground truth&amp;quot; to compare to, then it's difficult. Indicators such as spatial or temporal variance can be useful though.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;In the case of gamma function, how can I estimate the number of basis functions?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;It's a choice you make, rather than an estimation. To avoid overfitting, the number should not be too high.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;In Threshold (SD) for event detection should I change the value (i.e 1)? (considering both the options: canonical and gamma function)&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;This is not necessary, but it's indeed a parameter that you can choose to tune.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Also, what is K (local peak)? How is it calculated?&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;See eq. [3] of the tutorial paper, where K is defined as the range of x values in which we look for a peak.:&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 40px;&amp;quot;&amp;gt;y(i) is defined as peak: y(i)&amp;amp;gt;y(i+x),&amp;amp;nbsp; x=[-K: K];&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;yj6qo ajU&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I hope this helps&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>daniele marinazzo</author>
   <pubDate>Tue, 25 Jun 2024 7:32:59 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15207&amp;forum_id=8907</guid>
  </item>
 </channel>
</rss>
