Dear Paivi,
If you are looking into reimplementing this in your own software, the
relevant SPM code is in these two functions:
https://github.com/spm/spm12/blob/r7771/spm_fMRI_design.m#L216-L231
https://github.com/spm/spm12/blob/r7771/spm_get_ons.m#L125-L141
Best regards,
Guillaume.
On 17/02/2020 09:57, Volkmar Glauche wrote:
> Dear Paivi,
>
> the only processing step where SPM interpolates data along the time axis is during slice timing. "Microtime resolution" is only used to specify your design with a higher temporal resolution than your data. It splits up a single time bin with a length of TR in a number of time bins with a shorter duration. "Microtime onset" specifies, which of the smaller time bins will be picked as the value for the single time bin per TR. Your model and your data will not be upsampled in time during model estimation.
>
> Hope this helps
> Volkmar
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|