IBT-FMI / SAMRI

Small Animal Magnetic Resonance Imaging via Python.
GNU General Public License v3.0
42 stars 27 forks source link

Correlation matrix example does not work. #29

Open TheChymera opened 7 years ago

TheChymera commented 7 years ago

The recently contributed correlation matrix function seems to not work properly. It produces the following plot:

figure_1

Not least of all, it took a bit of fixing to get it to even execute, in the future, please try to:

TheChymera commented 7 years ago

Also, while it is cool that the correlation matrix function can save the data file for later plotting, ideally we would not do this in any example (to avoid dropping trace files everywhere). This is best done by only saving when an optional save_as string argument evaluates to True.

damaggu commented 7 years ago

Reviewed and edited suggested changes. Should work now, also atlas annotation fixed. For testing please replace filenames and in the labels csv line 177 replace ‘,’ by something else (

Accessory olfactory bulb: glomerular, external plexiform and mitral cell layer ), since it messes up the parsing.

result should be something like this matrix