-
Notifications
You must be signed in to change notification settings - Fork 53
upsampling and runwiseFIR #174
Description
Dear developers,
I have a question about the upsampling.
function: GLMestimatesingletrial(design_matrix, original_data, STIMULUS_DURATION, INPUT_TR, save_here, opt)
My original TR is 2 s, stimulus duration is 0.5 s, and the onset of stimulus is NOT TR-locked.
When I ran GLMsingle based on the original information (STIMULUS_DURATION = 0.5; INPUT_TR = 2), I got the figure 1.
It seems bad.
So, I upsampled data ( upsample_data = tseriesinterp(original_data, 2, 1, 4) ; original TR = 2, new TR = 1) and adjusted design matrix, and I got the figure 2 (STIMULUS_DURATION = 0.5; INPUT_TR = 1).
it still looks bad. so I changed INPUT_TR to 2 and used upsampled data and adjusted design matrix. The figure 3 looks okay.
So, should I use the original TR as INPUT_TR after upsampling the original data?
Thank you very much in advance.


