cft-analysis
Python package for the analysis of data collected during the Cold Face Test (CFT) study.
Science Score: 54.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
Links to: nature.com -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Repository
Python package for the analysis of data collected during the Cold Face Test (CFT) study.
Basic Info
- Host: GitHub
- Owner: mad-lab-fau
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 5.71 MB
Statistics
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
cft-analysis
Python package for the analysis of data collected during the Cold Face Test (CFT) study.
Description
This package contains various helper functions to work with the dataset (including tpcp Dataset representations) and to process data. Additionally, it contains different analysis experiments performed with the dataset.
Repository Structure
The repository is structured as follows:
```bash
├── src/
│ └── cftanalysis/ # cft-analysis Python package
└── experiments/ # Folder with conducted analysis experiments; each experiment has its own subfolder
└── 2022scientificreports/ # Analysis for the 2022 Scientific Reports Paper (see below)
├── data/ # Processed data and extracted parameters
├── notebooks/ # Notebooks for data processing, analysis and plotting
│ ├── dataprocessing/
│ │ ├── ECGProcessingFeatureComputation.ipynb # Processing and feature extraction from ECG data
│ │ ├── QuestionnaireProcessing.ipynb # Processing of questionnaire data
│ │ └── SalivaProcessing.ipynb # Processing of saliva data
│ ├── analysis/
│ │ ├── SubjectExclusion.ipynb # Checks whether (and which) subjects need to be excluded from further analysis
│ │ ├── Demographics.ipynb # Analysis of general information of study population: Age, Gender, BMI, ...
│ │ ├── ECGAnalysis.ipynb # Descriptive and statistical analysis of ECG data
│ │ ├── QuestionnaireAnalysis.ipynb # Descriptive and statistical analysis of questionnaire data
│ │ └── Saliva_Analysis.ipynb # Descriptive and statistical analysis of saliva data
│ └── plotting/
├── results/ # Plots and statistical results exported by the notebooks in the "analysis" and "plotting" folders
└── config.json #
```
Installation
If you want to use this package to reproduce the analysis results then clone the repository and install the
package via uv:
bash
git clone git@github.com:mad-lab-fau/cft-analysis.git
cd cft-analysis
uv sync
This creates a new python venv in the cft-analysis/.venv folder. Next, register a new IPython kernel for the venv:
bash
cd cft-analysis
poe register_ipykernel
Finally, go to the experiments folder and run the Jupyter Notebooks.
Experiments
Currently, this repository contains the following experiments:
2022 – Scientific Reports
Analysis of the CFT Dataset for the paper Vagus Activation by Cold Face Test Reduces Acute Psychosocial Stress Responses, published in Scientific Reports.
Usage
In order to run the code, first download the CFT Dataset, e.g. from OSF. Then, create a file named config.json in the folder /experiments/2022_scientific_reports with the following content:
json
{
"base_path": "<path-to-dataset>"
}
This config file is parsed by all notebooks to extract the path to the dataset.
NOTE: This file is ignored by git because the path to the dataset depends on the local configuration!
The files in the data folder are created by running the notebooks in the data_processing folder. The files in the result folder are created by running the notebooks in the analysis and the plotting folders.
Owner
- Name: Machine Learning and Data Analytics Lab FAU
- Login: mad-lab-fau
- Kind: organization
- Location: Erlangen, Germany
- Website: https://www.mad.tf.fau.de
- Twitter: FAU_MaD_Lab
- Repositories: 17
- Profile: https://github.com/mad-lab-fau
Public projects of the Machine Learning and Data Analytics Lab at the Friedrich-Alexander-University Erlangen-Nürnberg
Citation (CITATION.cff)
cff-version: 1.0.0 message: "If you use this software, please cite it as below." authors: - family-names: "Richer" given-names: "Robert" - family-names: "Zenkner" given-names: "Janis" - family-names: "Küderle" given-names: "Arne" - family-names: "Rohleder" given-names: "Nicolas" - family-names: "Eskofier" given-names: "Bjoern M." title: "cft-analysis - A Package for the analysis of Cold Face Test Data" version: 1.0.0 doi: 10.17605/OSF.IO/FMSKJ url: "https://github.com/mad-lab-fau/cft-analysis"
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 85
- Total Committers: 2
- Avg Commits per committer: 42.5
- Development Distribution Score (DDS): 0.012
Top Committers
| Name | Commits | |
|---|---|---|
| Robert Richer | r****r@f****e | 84 |
| Arne Küderle | a****e@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0