Skip to content

QIK procedures for syncronizing EEG lossless state with ET data and puring artifacts from Lossless annotations..

Notifications You must be signed in to change notification settings

lina-usc/q1k_sync_loss

Repository files navigation

Create the virtual environment

python3.10 -m venv env
source env/bin/activate

Clone packages into the env and install them

cd env

git clone https://github.com/mne-tools/mne-icalabel.git
cd mne-icalabel
git checkout maint/0.4
pip install .
cd ..

git clone [email protected]:lina-usc/pylossless.git
cd pylossless
pip install .
cd ../..

##Install remaining packages and create the ipykernel

pip install openneuro-py
pip install EDFLib-Python

pip install ipykernel
python -m ipykernel install --user --name=q1k_postproc_erp

copy pylossless output files from the remote compute cluster..

If this is the first task to be downloaded to the local drive then dowload the entire sub-### folder

scp -r [email protected]:/project/def-emayada/q1k/pilot/q1k-external-pilot/derivatives/pylossless/sub-002 .

If the subject has already been downloaded for another task then just get the specific task of interest and then update the *_scans.tsv file

cd ~/q1k/pilot/q1k-external-pilot/derivatives/pylossless
scp [email protected]:/project/def-emayada/q1k/pilot/q1k-external-pilot/derivatives/pylossless/sub-002/ses-01/eeg/*_task-ap_* sub-002/ses-01/eeg/
scp [email protected]:/project/def-emayada/q1k/pilot/q1k-external-pilot/derivatives/pylossless/sub-002/ses-01/*_scans.tsv sub-002/ses-01/

About

QIK procedures for syncronizing EEG lossless state with ET data and puring artifacts from Lossless annotations..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published