Skip to content

Commit 4db3e98

Browse files
committed
Python example first
1 parent ec9bf03 commit 4db3e98

1 file changed

Lines changed: 16 additions & 17 deletions

File tree

README.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# Evoked Response Detection
22
A python package and docker application for the automatic detection of evoked responses in SPES/CCEP data
33

4-
## Docker Usage
5-
6-
To launch an instance of the container and analyse data in BIDS format, in the command-line interface/terminal:
7-
8-
```
9-
docker run multimodalneuro/erdetect <bids_dir>:/data <output_dir>:/output [--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]]
10-
```
11-
For example, to run an analysis, type:
12-
13-
```
14-
docker run -ti --rm \
15-
-v /local_bids_data_root/:/data \
16-
-v /local_output_path/:/output \
17-
multimodalneuro/erdetect /data /output --participant_label 01
18-
```
19-
20-
214
## Python Usage
225

236
1. First install ERdetect, in the command-line run:
@@ -42,6 +25,22 @@ import erdetect
4225
erdetect.process_subset('/bids_data_root/subj-01/ieeg/sub-01_run-06.edf', '/output_path/')
4326
```
4427

28+
## Docker Usage
29+
30+
To launch an instance of the container and analyse data in BIDS format, in the command-line interface/terminal:
31+
32+
```
33+
docker run multimodalneuro/erdetect <bids_dir>:/data <output_dir>:/output [--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]]
34+
```
35+
For example, to run an analysis, type:
36+
37+
```
38+
docker run -ti --rm \
39+
-v /local_bids_data_root/:/data \
40+
-v /local_output_path/:/output \
41+
multimodalneuro/erdetect /data /output --participant_label 01
42+
```
43+
4544

4645

4746
## Configure detection

0 commit comments

Comments
 (0)