MNE-python
scikit-learn
nilearn
numpy, pandas, matplotlib
Code to run the risk task are all in ./TaskCode
(requires Matlab and PTB3)
parseBehav.py # convert .mat to .csv
behaviour.py
riskModel.py
preprocess.py
neuralynx_io.py # ported from https://github.com/alafuzof/NeuralynxIO
channel_functions.py
epoch_functions.py
input_function.py
preprocess_functions.py
utilities.py
design_functions.py
decode_functions.py
generalize_functions.py
regression_functions.py # adapted from https://gist.github.com/brentp/5355925
plot_model_revised.py
plot_num_contacts.py
plot_nodes_coords.py
plot_nodes_decoding.py # Feature importance topoplot
demo_behav.ipynb # Estimated run-time < 1 min
demo_model.ipynb # Estimated run-time < 10 sec