Tagging Latency Estimator
Tagging Latency Estimator: A Standalone Software for Estimating Latency of Event-Related Potentials in P300-based Brain-Computer Interfaces - Published in JOSS (2023)
Science Score: 87.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 9 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Last synced: 4 months ago
·
JSON representation
Repository
Software to estimate the latency of the tagging process.
Basic Info
- Host: gitlab.com
- Owner: programgreg
- License: apache-2.0
- Default Branch: master
Statistics
- Stars: 0
- Forks: 0
- Open Issues: 7
- Releases: 0
Created over 4 years ago
https://gitlab.com/programgreg/tagginglatencyestimator/blob/master/
[](https://doi.org/10.21105/joss.04114)
# Description
This software estimates tagging latency for P300-based Brain-Computer Interfaces (BCI). It is designed for both regular screen and VR. Tagging marks the moment at which the user has been presented with a stimulus that generates a P300 response from the brain. Tagging latency is the time between the actual presentation of the stimulus on the screen and its position in the EEG signal. Tagging latency is important for correctly processing the P300 portion of an EEG signal.
Latency is corrected taking into account:
- The number of VR cameras within the physical screen
- The orientation of the screen
- The distribution of the items on screen
- The position of the photodiode used to measure hardware tagging latency of event-related potentials (ERPs) in the ongoing electroencephalogram (EEG). Learn more about this method [here](doc/Engineering%20Study%20HMD%20-%20BCI.pdf).
- The number of targets used to measure the latency using the photodiode, and:
- The position of the target (if only one were used)
- The distribution of these targets (if multiple were used)
A short introduction to this software in the form of a [paper](https://gitlab.com/programgreg/tagginglatencyestimator/-/jobs/artifacts/master/browse?job=paper) is provided (the link contains the most recent version, the official version of the paper is [here](https://doi.org/10.21105/joss.04114)). You can also learn more in [this technical paper](doc/About%20tagging%20latency%20in%20visual%20ERP.pdf) and this [presentation](doc/nbt_berlin.pptx).
# Usage
The software is implemented using Unity, which is a multiplatform application engine.
Therefore, the project can be downloaded and cooked for Linux, Windows or Mac.
## Download
The project can be downloaded:
1. As a zip file:

2. Using `git` with SSH (requires to [define a SSH key](https://docs.gitlab.com/ee/ssh/) first)
```
> git clone git@gitlab.com:programgreg/tagginglatencyestimator.git
```
3. Using `git` with HTTPS:
```
> git clone https://gitlab.com/programgreg/tagginglatencyestimator.git
```
If you are not familiar with git, we recommend following this official [tutorial](https://git-scm.com/docs/gittutorial).
## Run project
See the [dedicated section](doc/run_project.md).
## Python
A python implementation of the `STaggingComputer` is also provided, for those having no particular affinity for C# and Unity.
Install the python module from the `PythonProject` folder, by running the folowing in a prompt:
```
> python setup.py develop
```
Test that the module was correctly installed by writing the folowing in a python console:
```
> import tle
> tle.__version__
```
This should output the current version of the python module.
Start using the python module by reading the use cases inside the [examples](PythonProject/examples) folder.
# Dependences
- Unity 2023.2.3.f1: This version can be installed using the Unity Hub. More information on the official [webpage](https://unity.com/fr/download)
- [UCoreNet](https://gitlab.com/programgreg/UCoreNet)
# Community Guidelines
Collaborators are welcomed to the project, and should not hesitate to rise an [issue](https://gitlab.com/programgreg/tagginglatencyestimator/-/issues) or contribute to the software.
We use a simplified Gitworkflow described below:
- Fork the repository and create a new branch to work on a new functionnality/bug fixing
- Open a [merge request](https://gitlab.com/programgreg/tagginglatencyestimator/-/merge_requests) to merge your branch against the master branch in this repository
- In the description of the merge request, indicate the initial issue you were working on (create this issue if necessary)
- Address the review comments and wait for merging approval :)
The technological slack is based on Unity (C#) and Python.
# References
Cattan, G., Andreev, A., Maureille, B., and Congedo, M. (2018). Analysis of tagging latency when comparing event-related potentials. Available at: https://hal.archives-ouvertes.fr/hal-01947551. (also included in the [doc](doc/About%20tagging%20latency%20in%20visual%20ERP.pdf) folder.)
Cattan, G. (2019). De la ralisation dune interface cerveau-ordinateur pour une ralit virtuelle accessible au grand public. Available at: https://tel.archives-ouvertes.fr/tel-02357203.
A. Andreev, G. Cattan, and M. Congedo (2019). Engineering study on the use of Head-Mounted display for Brain- Computer Interface. Available at: https://hal.archives-ouvertes.fr/hal-02166844. (also included in the [doc](doc/Engineering%20Study%20HMD%20-%20BCI.pdf) folder.)
**Cite this software as**:
Cattan, G. and Mendoza, C. (2023). Tagging Latency Estimator: A Standalone Software for Estimating Latency of Event-Related Potentials in P300-based Brain-Computer Interfaces. Journal of Open Source Software.
DOI: [10.21105/joss.04114](https://doi.org/10.21105/joss.04114).
# License
This code is distributed under Apache License 2.0 by the IHMTEK company.
JOSS Publication
Tagging Latency Estimator: A Standalone Software for Estimating Latency of Event-Related Potentials in P300-based Brain-Computer Interfaces
Published
January 10, 2023
Volume 8, Issue 81, Page 4114
Tags
Unity Event-Related Potential (ERP) P300 Brain-Computer Interface (BCI)Committers
Last synced: 4 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Greg C | p****g@w****r | 84 |
| gcattan | g****n@i****m | 53 |
| Greg C | g****n@h****r | 6 |
Committer Domains (Top 20 + Academic)
ibm.com: 1
wanadoo.fr: 1
Issues and Pull Requests
Last synced: 4 months ago
