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. Prefer the flat folder snapshot, extract it and add the path to your MATLAB’s path.
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 alternatively download the patched version.
neuroelf_gui
.File
menu, click on Open...
and select the
Anatomical file from the subject.File
menu, open the jde_vem_hrf_mapped.nii
file.File
menu, select the Set underlay object
item and select
either the loaded anatomical file or the one provided by NeuroElfFile
menu, select Open file as stats
item and load all the
jde_vem_ppm_a_nrl_[condition].nii
files at once.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.