# ananyo-sen-b2530066/mental-health architecture

> Architecture diagram of the GitHub repository ananyo-sen-b2530066/mental-health, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ananyo-sen-b2530066/mental-health
- Repository: https://github.com/ananyo-sen-b2530066/mental-health

## Overview

This is an interim research-analysis repository for behavioral/psychometric outcomes and EEG recordings in children with reading or mathematics learning difficulties. The visible Python script loads psychometric workbooks, produces descriptive and baseline analyses and plots, and writes selected tables under results/eda. The README also describes multivariate behavioral work and a staged EEG investigation; notebooks and EEG outputs are present, but their implementation was not sampled. EEG relationships are therefore shown as unverified analytical stages rather than asserted code calls.

Main entry points: [`eeg_analysis.ipynb`](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eeg_analysis.ipynb) (EEG analysis), [`eda_psychometric.py`](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eda_psychometric.py) (Psychometric EDA), [`eda_psychometric.ipynb`](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eda_psychometric.ipynb) (Behavioral analysis), [`read_eeg.ipynb`](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/read_eeg.ipynb) (Recording inspection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_behavior["Behavioral analysis"]
  node_eda_script["Psychometric EDA"]
  node_behavior_notebook["Behavioral analysis"]
  node_multivariate["Change comparisons<br/>[eeg_study.ipynb]"]
end

subgraph group_eeg["EEG analysis"]
  node_recording_inspection["Recording inspection<br/>[read_eeg.ipynb]"]
  node_eeg_analysis["EEG analysis<br/>[eeg_analysis.ipynb]"]
  node_eeg_features["EEG features"]
end

subgraph group_outputs["Analysis outputs"]
  node_eda_results["Behavioral tables"]
  node_eeg_results["EEG results"]
end

node_researcher(("Researcher"))
node_psychometric_data["Psychometric workbook"]

node_researcher -->|"runs analysis"| node_eda_script
node_psychometric_data -->|"loads sheets"| node_eda_script
node_eda_script -->|"writes tables"| node_eda_results
node_researcher -.->|"inspects recordings"| node_recording_inspection
node_recording_inspection -.->|"informs analysis"| node_eeg_analysis
node_eeg_analysis -.->|"examines features"| node_eeg_features
node_eeg_analysis -.->|"produces summaries"| node_eeg_results
node_researcher -.->|"explores outcomes"| node_behavior_notebook
node_behavior_notebook -.->|"compares changes"| node_multivariate

click node_eda_script "https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eda_psychometric.py"
click node_behavior_notebook "https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eda_psychometric.ipynb"
click node_multivariate "https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eeg_study.ipynb"
click node_recording_inspection "https://github.com/ananyo-sen-b2530066/mental-health/blob/main/read_eeg.ipynb"
click node_eeg_analysis "https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eeg_analysis.ipynb"
click node_eeg_features "https://github.com/ananyo-sen-b2530066/mental-health/tree/main/results/eeg"
click node_eda_results "https://github.com/ananyo-sen-b2530066/mental-health/tree/main/results/eda"
click node_eeg_results "https://github.com/ananyo-sen-b2530066/mental-health/tree/main/results/eeg"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_eda_script,node_behavior_notebook,node_multivariate toneBlue
class node_recording_inspection,node_eeg_analysis,node_eeg_features toneAmber
class node_eda_results,node_eeg_results toneMint
class node_researcher,node_psychometric_data toneIndigo
```

## Components

### Behavioral analysis

- [Psychometric EDA](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eda_psychometric.py): `eda_psychometric.py`
- [Behavioral analysis](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eda_psychometric.ipynb): `eda_psychometric.ipynb`
- [Change comparisons](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eeg_study.ipynb): `eeg_study.ipynb`

### EEG analysis

- [Recording inspection](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/read_eeg.ipynb): `read_eeg.ipynb`
- [EEG analysis](https://github.com/ananyo-sen-b2530066/mental-health/blob/main/eeg_analysis.ipynb): `eeg_analysis.ipynb`
- [EEG features](https://github.com/ananyo-sen-b2530066/mental-health/tree/main/results/eeg): `results/eeg`

### Analysis outputs

- [Behavioral tables](https://github.com/ananyo-sen-b2530066/mental-health/tree/main/results/eda): `results/eda`
- [EEG results](https://github.com/ananyo-sen-b2530066/mental-health/tree/main/results/eeg): `results/eeg`

### Other components

- **Researcher**
- **Psychometric workbook**

## Connections

- Researcher → Psychometric EDA: runs analysis (evidence: `eda_psychometric.py`)
- Psychometric workbook → Psychometric EDA: loads sheets (evidence: `eda_psychometric.py`)
- Psychometric EDA → Behavioral tables: writes tables (evidence: `eda_psychometric.py`)
- Researcher → Recording inspection: inspects recordings (evidence: `README.md`)
- Recording inspection → EEG analysis: informs analysis
- EEG analysis → EEG features: examines features (evidence: `README.md`)
- EEG analysis → EEG results: produces summaries
- Researcher → Behavioral analysis: explores outcomes (evidence: `README.md`)
- Behavioral analysis → Change comparisons: compares changes (evidence: `README.md`)
