campeones_analysis
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: tomdamelio
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 5.73 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
campeones_analysis
TL;DR: Reproducible pipeline for data from experiments on immersive emotions (EEG + peripheral measurements) with Python.
Description
campeones_analysis is a Python project for analyzing data from experiments on emotions in immersive contexts, including EEG and peripheral physiological measurements. It provides a reproducible, modular, and automated workflow for preprocessing, feature extraction, and machine learning, using state-of-the-art open-source tools.
Quick start
```bash
Clone the repository
git clone https://github.com/tomdamelio/campeonesanalysis.git cd campeonesanalysis
Create and activate the environment
micromamba create -n campeones -f environment.yml micromamba activate campeones
Install development tools (optional, for development)
pip install -e .[dev]
Note: Data files should be obtained separately and placed in the data/ directory
Contact the project maintainers for data access instructions
```
XDF data processing
To generate BIDS files from the original data in XDF format:
```bash
Process all available XDF files
python -m src.campeonesanalysis.physio.readxdf
Process a specific subject
python -m src.campeonesanalysis.physio.readxdf --subject 01
Process a specific session
python -m src.campeonesanalysis.physio.readxdf --subject 01 --session VR
Test mode (process only the first XDF file found)
python -m src.campeonesanalysis.physio.readxdf --test
Enable detailed logging
python -m src.campeonesanalysis.physio.readxdf --debug
Continue processing other files if one fails
python -m src.campeonesanalysis.physio.readxdf --continue-on-error ```
The original files must be placed in the structure:
data/sourcedata/xdf/sub-{subject}/ses-{session}/physio/
The processed files will be saved in BIDS format in:
data/raw/
Features
- EEG and peripheral data preprocessing (MNE, NeuroKit2)
- BIDS compatibility (MNE-BIDS) with standardized event ID mapping
- Machine learning (scikit-learn)
- Reproducible environments (micromamba, conda-lock)
- Documentation (MkDocs)
Documentation
Key documentation files:
- docs/event_id_mapping_implementation.md - Event ID mapping for BIDS compliance
- docs/scripts_preprocessing.md - Preprocessing scripts documentation
Dependency management policy
- For rapid prototyping, you can install new dependencies with
pip installduring development. - Immediately add any new dependencies to
environment.ymlto maintain reproducibility of the environment. - Regenerate the lock file (
conda-lock.yml) periodically (e.g., at project milestones, before releases, or after a batch of changes). - Document all dependency changes in
CHANGELOG.mdand in commit messages to ensure traceability. - If the dependency is a pure Python development tool or is only needed for development/automation, add it to
[project.optional-dependencies]inpyproject.toml.
Data management
Getting the data
Data files are stored externally and should be obtained separately from the project maintainers. Once obtained, place them in the data/ directory following the BIDS structure.
Data structure
The project expects data to be organized in BIDS format:
- Raw data: data/raw/
- Processed data: data/derivatives/
- Source data: data/sourcedata/
License
MIT — see LICENSE
Owner
- Login: tomdamelio
- Kind: user
- Repositories: 3
- Profile: https://github.com/tomdamelio
Citation (CITATION.cff)
cff-version: 1.2.0
message: >-
If you use this dataset, please cite it using the metadata below.
type: dataset
title: "CAMPEONES: Continuous Annotation and Multimodal Processing of EmOtions in Naturalistic EnvironmentS"
version: "1.0.0"
doi: "<DOI pending>"
date-released: 2025-05-30
authors:
- family-names: D'Amelio
given-names: Tomás Ariel
affiliation: <Affiliation>
orcid: "<ORCID optional>"
- family-names: Rodriguez Cuello
given-names: Jerónimo
affiliation: <Affiliation>
- family-names: Aboitiz
given-names: Julieta
affiliation: <Affiliation>
- family-names: Bruno
given-names: Nicolás Marcelo
affiliation: <Affiliation>
- family-names: Cavanna
given-names: Federico
affiliation: <Affiliation>
- family-names: de La Fuente
given-names: Laura Alethia
affiliation: <Affiliation>
- family-names: Müller
given-names: Stephanie Andrea
affiliation: <Affiliation>
- family-names: Pallavicini
given-names: Carla
affiliation: <Affiliation>
- family-names: Engemann
given-names: Denis-Alexander
affiliation: <Affiliation>
- family-names: Vidaurre
given-names: Diego
affiliation: <Affiliation>
- family-names: Tagliazucchi
given-names: Enzo
affiliation: <Affiliation>
license: CC-BY-4.0
repository-code: "<https://github.com/tomdamelio/campeones_analysis>"
keywords:
- emotion
- multimodal
- EEG
- physiology
- naturalistic stimuli
preferred-citation:
type: dataset
title: "CAMPEONES: Continuous Annotation and Multimodal Processing of EmOtions in Naturalistic EnvironmentS"
authors:
- family-names: D'Amelio
given-names: Tomás Ariel
- family-names: Rodriguez Cuello
given-names: Jerónimo
- family-names: Aboitiz
given-names: Julieta
affiliation: <Affiliation>
- family-names: Bruno
given-names: Nicolás Marcelo
affiliation: <Affiliation>
- family-names: Cavanna
given-names: Federico
affiliation: <Affiliation>
- family-names: de La Fuente
given-names: Laura Alethia
affiliation: <Affiliation>
- family-names: Müller
given-names: Stephanie Andrea
affiliation: <Affiliation>
- family-names: Pallavicini
given-names: Carla
affiliation: <Affiliation>
- family-names: Engemann
given-names: Denis-Alexander
affiliation: <Affiliation>
- family-names: Vidaurre
given-names: Diego
affiliation: <Affiliation>
- family-names: Tagliazucchi
given-names: Enzo
affiliation: <Affiliation>
doi: "<DOI pending>"
year: 2025
GitHub Events
Total
- Delete event: 2
- Push event: 28
- Pull request event: 6
- Create event: 4
Last Year
- Delete event: 2
- Push event: 28
- Pull request event: 6
- Create event: 4
Dependencies
- actions/checkout v4 composite
- actions/setup-python v5 composite
- mamba-org/setup-micromamba v1 composite
- dvc [gdrive]
- jupyterlab *
- matplotlib *
- mne *
- mne-bids *
- neurokit2 *
- numpy *
- pandas *
- scikit-learn *
- seaborn *
- actions/checkout v4 composite
- actions/setup-python v5 composite
- peaceiris/actions-gh-pages v4 composite
- autoreject
- dvc
- gitpython
- jupyterlab
- matplotlib
- mkdocs-material
- mne
- mne-bids
- mne-icalabel
- mnelab
- neurokit2
- numpy
- openpyxl
- pandas
- pyprep
- python 3.11.*
- pywavelets
- pyxdf
- scikit-learn
- seaborn
- matplotlib *
- mne *
- mne-bids *
- mnelab *
- numpy *
- pandas *
- pyxdf *