cvnlab / GLMsingle

A toolbox for accurate single-trial estimates in fMRI time-series data
BSD 3-Clause "New" or "Revised" License
101 stars 45 forks source link

add diagnostics, add warning for trials near end of run, provide desi… #87

Closed kendrickkay closed 1 year ago

kendrickkay commented 1 year ago

This commit includes several changes.

  1. We now give the user some useful diagonistics about their design matrix.
  2. We issue a warning if trials are dangerously close to the end of a run.
  3. We provide a lot of design-related outputs (including designSINGLE) to the workspace, as well as writing these out to a new file.

We need a Python port of these changes.

I made the changes on the iotweaks branch. So I guess someone can add the Python port to this branch too?

kendrickkay commented 1 year ago

So, @jacob-prince or @iancharest , can you take the lead and both review the new stuff and port it to Python?

kendrickkay commented 1 year ago

Just now, I commited several new additions. This includes a bunch of new diagnostic figures. As well as a new "diagnostics" FIR model. This doesn't change any core GLMsingle outputs, but the FIR results are saved to disk (which might be useful to the user), and a figure is generated that provides useful FIR-related diagnostics.

kendrickkay commented 1 year ago

I'm going to merge this branch. The Python port of these changes can happen on a separate branch, I suppose.