Apply threshold issues! Not sure if bug

Dear user group,

I have recently returned to my data , after writing it up my thesis (6 months ago), and now am in plans to prepare it for publications. I updated the Brainstorm to the latest version and ran some new analyses following the procedures that I followed before and outlined in the tutorial pages.
This involved creating the stats map for my comparisons of interest on the source level (this generated the source 'stat' file) then applying the threshold (using the Process tab) to that result so that I can average t-values across time for the purposes of visualisations in the articles .

My problem is as follows: after applying the threshold and acquiring the new thresholded source map, they appeared different.

I found this odd, as I have done this procedure several times and never had issues. Then I played around with the range settings in figure options, and noticed that there is something strange going on with ranges where it is just showing the maximum value and not anything below.

After changing the custom range to [4.9, 5] (it was [0 , 5], see previous figure cbar), I achieved very similar maps, suggesting this maybe the case.

The most likely explanation is that I am something wrong and cant exactly replicate the steps I took previously during write up. But I am worried that it could be a legitimate bug too. Can anyone help me figure this one out?

Kind Regards,
Miguel

Hi Miguel,

It looks like you have an additional threshold applied for your source maps where the threshold has been applied. Go to the surface tab and make sure the data threshold is set to zero. Then double-click on the colorbar to restore the original colormap.

If you think there might be a bug somewhere, I would need you to help me replicate it on my end, so I can fix it. You could do the following:

  • Duplicate the subject in which both your stat file and the “flattened” file (threshold applied) are: right-click on the subject folder > File > Duplicate subject
  • In the new subject: keep all the anatomy files, the channel file, the head model, the stat sources and the thresholded file. Delete all the other files, not necessary to replicate your observation.
  • Right-click on the subject folder > File > Export subject
  • Upload the zip file somewhere (dropbox, google drive, etc…) and send me the download link

Cheers,
Francois

1 Like

Hi Francois,

Thank you for your reply. It was indeed a threshold that was set up from previous analyses. Silly me!

Sorry to bother you with such a simple question.

Kind regards,
Miguel