1 Installing SignalFlow
1.1 Overview
The source code for SignalFlow is hosted on GitHub. There are two primary methods to install SignalFlow:
- Using Git software to directly download the code
- Downloading the code as a zip file from the GitHub website
However, due to the inclusion of submodules pertaining to other necessary programs, we highly recommend the use of Git for downloading SignalFlow. The direct web download approach requires manual downloading and arrangement of each piece of software within the source code directory, which could prove to be a more time-consuming process.
1.2 Method 1: Using Git
Check if Git is installed:
Open a terminal or command prompt and run the following command:
git --versionIf Git is installed, you will see the version number. If not, proceed to the next step.
Install Git:
Download the install from the official Git website for your operating system at official Git website.
Create a ‘github’ directory: Choose a location on your drive that will be used to store your toolboxes.
Run use your file explorer or run following command to create a new directory called ‘github’ and navigate to it:
mkdir github cd githubClone the SignalFlow repository with submodules:
Run the following command to clone the repository and its submodules:
git clone --recurse-submodules https://github.com/cincibrainlab/SignalFlowEEG_HBCD.gitThis will clone the repository and its submodules into the ‘github’ directory. The output will be displayed in the terminal or command prompt.
Clone other necessary toolkits: In addition to SignalFlowEEG, you may need to clone several other toolkits. Here are the necessary commands:
EEGLAB:
git clone --recurse-submodules https://github.com/sccn/eeglab.gitBrainstorm:
git clone --recurse-submodules https://github.com/brainstorm-tools/brainstorm3.gitHAPPE Pipeline:
git clone --recurse-submodules https://github.com/PINE-Lab/HAPPE.gitMADE Pipeline:
git clone --recurse-submodules https://github.com/ChildDevLab/MADE-EEG-preprocessing-pipeline.gitAfter cloning these repositories, you’ll have all the necessary toolkits for your EEG data analysis. Make sure to keep these repositories up-to-date by pulling the latest changes regularly by using the command:
git pull --recurse-submodules
1.3 Method 2: Downloading Toolkits as Zip Files
If you prefer, you can download each repository individually as a zip file. This can be done from the main page of each repository on GitHub. Note that this method will require additional steps to organize the downloaded content.
Here are the steps to download and organize the repositories:
Navigate to each repository’s GitHub page in your web browser.
Click on the
Codebutton and then clickDownload ZIP.Once the download is complete, extract the ZIP file.
Create a new folder in your
githubdirectory for each extracted repository. The name of the folder should match the repository name.
Here are the links to each repository: - SignalFlow: https://github.com/cincibrainlab/SignalFlowEEG_HBCD.git - VHTP: https://github.com/cincibrainlab/vhtp - VHTP Dependencies: https://github.com/cincibrainlab/vhtp_dependencies - HAPPE Pipeline: https://github.com/PINE-Lab/HAPPE - MADE Pipeline: https://github.com/ChildDevLab/MADE-EEG-preprocessing-pipeline
Note: For the VHTP and VHTP Dependencies, make sure to place these folders in the SignalFlowEEG_HBCD folder, as they are necessary for certain SignalFlow operations.
EEGLAB and Brainstorm must be downloaded through their respective non-github websites. This is because any submodules cannot be downloaded through the github website without git.
- EEGLAB: https://sccn.ucsd.edu/eeglab/index.php
- Brainstorm:https://neuroimage.usc.edu/brainstorm/Introduction
After extraction, you will have the complete repository with all its files and folders available on your computer.