Thank you so much for making all these wonderful tools available!
We are trying to use the Inverse Logit model to model our data. I've used the sFIR_multisubject_example_script.m as a template to do this. I changed line 125 to
[params_obj, hrf_obj] = hrf_fit(d, TR, C, T, 'IL', 0);
in order to use the IL model instead of sFIR.
My worry is when I run it on one subject with a small mask just to test it, the results look a bit odd. When I plot any of the HRF_timeseries_condition.img images there are a lot of straight lines.
Here is a link to what the timeseries plot looks like:
https://www.dropbox.com/s/348bbxi5ka77nv0/IL_condition_1.jpg?dl=0
The reason I don't think this is right is because when I run the same script with sFIR as the basis set, the resulting HRF has much more sensible shape. It basically looks more like what you would expect the HRF to look like.
So, I wanted to check can I use the sFIR_multisubject_example_script.m to model my data with IL? If not, can you tell me if there is a way to modify the script to run IL?
Many thanks,
Jenni