You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<img src="https://img.shields.io/badge/View%20Full%20Documentation-%230072C6?style=for-the-badge&logo=readthedocs&logoColor=white" alt="View Full Documentation">
9
+
</a>
10
+
</p>
11
+
ss
8
12
## 🚀 Getting Started
9
13
10
14
Get started with LSLAutoBIDS by installing the package and its dependencies.
This function ensures that the original source files (EEG and other/behavioral files) are also a part our dataset. These files can't be directly converted to BIDS format but we give the user the option to include them in the BIDS directory structure in a pseudo-BIDS format for completeness.
82
82
83
83
- Copies the .xdf into the following structure:
@@ -104,7 +104,7 @@ If otherFilesUsed=True in project config file:
104
104
105
105
There is a flag in the `lslautobids run` command called `--redo_other_pc` which when specified, forces overwriting of existing other and experiment files in the BIDS dataset. This is useful if there are updates or corrections to the other/behavioral data that need to be reflected in the BIDS dataset.
106
106
107
-
#### 4. Create Raw XDF (`create_raw_xdf()`)
107
+
#### Create Raw XDF (`create_raw_xdf()`)
108
108
This function reads the XDF file and creates an MNE Raw object. It performs the following steps:
109
109
- Select EEG stream using match_streaminfos(type="EEG").
110
110
@@ -118,20 +118,20 @@ This function reads the XDF file and creates an MNE Raw object. It performs the
118
118
119
119
This produces a clean, memory-efficient Raw object ready for BIDS conversion.
120
120
121
-
#### 5. BIDS Validation (`validate_bids()`)
121
+
#### BIDS Validation (`validate_bids()`)
122
122
This function validates the generated BIDS files using the `bids-validator` package. It performs the following steps:
Copy file name to clipboardExpand all lines: docs/configuration.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
### 2. Configuration System
1
+
## Configuration System
2
2
3
3
The configuration system manages dataversse and project-specific settings using YAML and TOML files.
4
4
5
-
#### 1. Dataverse and Project Root Configuration (`gen_dv_config.py`)
5
+
#### Dataverse and Project Root Configuration (`gen_dv_config.py`)
6
6
7
7
This module generates a global configuration file for Dataverse and project root directories. This is a one-time setup per system. This file is stored in `~/.config/lslautobids/autobids_config.yaml` and contains:
8
8
- Paths for BIDS, projects, and project_other directories : This allows users to specify where their eeg data, behavioral data, and converted BIDS data are stored on their system. This paths should be relative to the home/users directory of your system and string format.
@@ -19,7 +19,7 @@ _Currently, the package doesn't allow you to have multiple dataverse configurati
19
19
20
20
However for testing purposes, we create a separate test configuration file `~/.config/lslautobids/test-autobids_config.yaml` which is used when running the tests.
This module generates a project-specific configuration file in TOML format. This file is stored in the `projects/<PROJECT_NAME>/<PROJECT_NAME>_config.toml` file and contains:
24
24
- Project metadata: Title, description, license, and authors, etc.
Copy file name to clipboardExpand all lines: docs/datalad_integration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
### 4. DataLad Integration (`datalad_create.py`)
1
+
## DataLad Integration (`datalad_create.py`)
2
2
3
3
The DataLad integration module manages the creation and updating of DataLad datasets for version control of the BIDS dataset. This function initializes a DataLad dataset at a given project path.
0 commit comments