{"id":1206,"date":"2023-06-09T09:28:22","date_gmt":"2023-06-09T09:28:22","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/?page_id=1206"},"modified":"2023-06-12T09:11:43","modified_gmt":"2023-06-12T09:11:43","slug":"eeglab","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/software\/applications\/eeglab\/","title":{"rendered":"EEGLab"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/sccn.ucsd.edu\/eeglab\/index.php\">EEGLAB<\/a> is an interactive Matlab toolbox for processing continuous and event-related EEG, MEG and other electrophysiological data incorporating independent component analysis (ICA), time\/frequency analysis, artifact rejection, event-related statistics, and several useful modes of visualization of the averaged and single-trial data.<\/p>\n<p>We have <strong>NOT<\/strong> centrally installed EEGLab. Instead, we provide instructions on how you can download it and install in your iCSF home directory (it isn&#8217;t a huge download.) This is due to the twice-yearly updates provided by EEGLab. It will be easier for you to keep your own version up-to-date.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>This software is open source and may be used by all CSF users.<\/p>\n<h2>Set up procedure<\/h2>\n<p>You should do the following steps to download and install EEGLab in your home directory (or other RDS area if you prefer.) We do NOT recommend installing EEGLab in your scratch area.<\/p>\n<h3>Install Instructions<\/h3>\n<p>Please do the following on the iCSF node you&#8217;ve logged in to (you only need to do this setup once):<\/p>\n<pre>\r\n# You can change this path but we recommend keeping your apps in a directory\r\n# to keep your iCSF home directory tidy:\r\nmkdir -p ~\/software\/\r\ncd ~\/software\r\n# Download and unpack\r\nmodule load tools\/env\/proxy\r\nwget https:\/\/sccn.ucsd.edu\/eeglab\/currentversion\/eeglab_current.zip\r\nunzip eeglab_current.zip\r\nls\r\n# At the time of writing this shows a new dir named:\r\neeglab2023.0\r\n\r\n# Now configure matlab\r\nmodule load apps\/binapps\/matlab\/2021a\r\nexport MATLABPATH=~\/software\/eeglab2023.0      # Use your path if different\r\nmatlab\r\n  #\r\n  # Now in the matlab GUI:\r\n  Press the \"Preferences\" button in the ribbon at the top\r\n  Select \"Web\" from the list on the left side of the pop-up\r\n  Tick the \"Use a proxy server to connect to the internet\" option\r\n  Proxy host: proxy.man.ac.uk\r\n  Proxy port: 3128\r\n  Hit \"OK\"\r\n\r\n# Now run eeglab by typing the following at the matlab prompt:\r\neeglab\r\n  #\r\n  # A new window should pop-up - this is EEGLab - use the menus in that window.\r\n<\/pre>\n<p>EEGLab is now installed. Read on for what to do each time you want to use it.<\/p>\n<h3>Create your own modulefile<\/h3>\n<p>To make starting EEGLab easier each time you use it, you can create your own modulefile as follows. Run the following commands on the iCSF login node (on any node), not at the matlab prompt!<\/p>\n<pre>\r\n# Create a directory for the modulefile. The ~\/privatemodules\/ name is required (don't change that part.)\r\nmkdir -p ~\/privatemodules\/eeglab\r\n\r\n# Now create a file named after the EEGLab version containing the 3 lines show in bold.\r\n# You can use gedit to do this:\r\ngedit ~\/privatemodules\/eeglab\/2023.0\r\n<strong>#%Module1.0\r\nmodule load apps\/binapps\/matlab\/R2021a\r\nprepend-path MATLABPATH $env(HOME)\/software\/eeglab2023.0<\/strong>\r\n\r\n# Or instead of using gedit, cut-n-past the following 5 lines in to your shell window <em>exactly<\/em> as shown:\r\ncat &gt; 2023.0 &lt;&lt;'EOF'\r\n#%Module1.0\r\nmodule load apps\/binapps\/matlab\/R2021a\r\nprepend-path MATLABPATH $env(HOME)\/software\/eeglab2023.0\r\nEOF\r\n\r\n# Note: If you make a mistake, edit the file again with gedit:\r\n# gedit ~\/privatemodules\/eeglab\/2023.0\r\n<\/pre>\n<p>You now have a modulefile you can use every time you want to run EEGLab.<\/p>\n<h2>Running the application<\/h2>\n<p>If you created your own modulefile (see above) you can do:<\/p>\n<pre>\r\n# We need to load the special 'use.own' modulefile first\r\nmodule load use.own  eeglab\/2023.0\r\nmatlab\r\n&gt;&gt; eeglab\r\n<\/pre>\n<p>If you didn&#8217;t create your own modulefile, do:<\/p>\n<pre>\r\nmodule load apps\/binapps\/matlab\/R2021a\r\nexport MATLABPATH=~\/software\/eeglab2023.0\r\nmatlab\r\n&gt;&gt; eeglab\r\n<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/sccn.ucsd.edu\/eeglab\/index.php\">EEGLab website<\/a><\/li>\n<li><a href=\"https:\/\/sccn.ucsd.edu\/eeglab\/downloadtoolbox.php\">EEGLab download page<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview EEGLAB is an interactive Matlab toolbox for processing continuous and event-related EEG, MEG and other electrophysiological data incorporating independent component analysis (ICA), time\/frequency analysis, artifact rejection, event-related statistics, and several useful modes of visualization of the averaged and single-trial data. We have NOT centrally installed EEGLab. Instead, we provide instructions on how you can download it and install in your iCSF home directory (it isn&#8217;t a huge download.) This is due to the twice-yearly.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/software\/applications\/eeglab\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":43,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1206","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/comments?post=1206"}],"version-history":[{"count":8,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1206\/revisions"}],"predecessor-version":[{"id":1217,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1206\/revisions\/1217"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/media?parent=1206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}