:orphan: .. _paper: Run on cluster ================ The following scripts were run on clusters to obtain the results presented in our paper [1]_. .. warning:: These codes are not meant to run in a laptop. However if you wish to downoload them and run, we suggest to follows the instruction below. Download all codes in this page in the same folder. Then, add to the folder the reqirments.txt file at this `link `_. Finally, run the following commands in a terminal, where N_mod is the number of pairs of time courses used to simulate patches' activity, N_loc is the number of source locations and i_job is a number in the range 1-N_mod*N_loc which indicates the combination of source model and source position. Ideally all jobs are to be run in parallel on a cluster. .. warning:: These core were run with MNE-python 0.22, more recent versions might be incompatible. .. code:: python3 -m venv regconn_env source regconn_env/bin/activate # In Windows replace the previous command with # regconn_env\Scripts\activate pip install --upgrade pip python3 -m pip install -r requirements.txt python3 00_download_data.py python3 01_generate_seed_tc.py N_mod N_loc python3 02_sim_realistic_dense.py N_mod N_loc i_job .. [1] ref to the paper .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_paper_cluster/images/thumb/sphx_glr_00_download_data_thumb.png :alt: Part 1: Download data :ref:`sphx_glr_auto_paper_cluster_00_download_data.py` .. raw:: html
Part 1: Download data
.. raw:: html
.. only:: html .. image:: /auto_paper_cluster/images/thumb/sphx_glr_01_generate_seeds_tc_thumb.png :alt: Part 2: Generate seeds time coursed and locations :ref:`sphx_glr_auto_paper_cluster_01_generate_seeds_tc.py` .. raw:: html
Part 2: Generate seeds time coursed and locations
.. raw:: html
.. only:: html .. image:: /auto_paper_cluster/images/thumb/sphx_glr_02_sim_realistic_dense_thumb.png :alt: Part 3: Generate sensor level recordings and compute optimal parameters :ref:`sphx_glr_auto_paper_cluster_02_sim_realistic_dense.py` .. raw:: html
Part 3: Generate sensor level recordings and compute optimal parameters
.. raw:: html
.. only:: html .. image:: /auto_paper_cluster/images/thumb/sphx_glr_functions_code_thumb.png :alt: Main functions :ref:`sphx_glr_auto_paper_cluster_functions_code.py` .. raw:: html
Main functions
.. raw:: html
.. toctree:: :hidden: /auto_paper_cluster/00_download_data /auto_paper_cluster/01_generate_seeds_tc /auto_paper_cluster/02_sim_realistic_dense /auto_paper_cluster/functions_code .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_paper_cluster_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_paper_cluster_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_