Visualization tools – This page sums up some advices on how to visualize PyHRF results.
For exploration of results, you can use the NeuroElf viewer with small modifications of the code to allow better visualization of HRFs and results. NeuroElf is a Matlab toolbox so you’ll need to have Matlab installed on your system.
Go to the NeuroElf page and follow instructions for NeuroElf installation.
For easier use of the tool, you can modify part of the code for better HRF and PPMs visualizations. The modifications for PyHRF are available here for download (just replace the original files).
If you prefer (for advanced use) you can also download the patchs version
- (Optional) Run NeuroElf from Matlab, then open the Anatomical file from the
- Run NeuroElf from Matlab, then open the
jde_vem_hrf_mapped.niifile from the
- From the
Filemenu, select the
Set underlay objectitem and select either the loaded anatomical file or the one provided by NeuroElf
- From the
Open file as statsitem and load all the
jde_vem_ppm_a_nrl_condition.niifiles at once.
- You can than select from the left menu the condition you want to visualize (you can tweak the threshold if you need to on the right panel).
For global visualization of PyHRF results, we advise to use the Nilearn plot functions.
We will provide some examples to plot PPMs maps as well as HRFs from active parcels.
There exists an old viewer for pyhrf you can try (which is not supported nor recommended anymore).