# raghavendrasri/open-ep-mapping-lab architecture

> Architecture diagram of the GitHub repository raghavendrasri/open-ep-mapping-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/raghavendrasri/open-ep-mapping-lab
- Repository: https://github.com/raghavendrasri/open-ep-mapping-lab

## Overview

Open EP Mapping Lab is an educational course about cardiac electroanatomic mapping, not a clinical tool. Its learner workflow is to study course modules, use interactive figures, and run Python labs; the README also promises reference and practice resources. The graph preserves the major documented capabilities and all CORE MODULES. Several course resources and site components are documented but have no implementation path in the supplied tree, so they are represented by the README. Internal links among lab modules are limited to relationships visible in the supplied excerpts or SOURCE INDEX.

Main entry points: [`README.md`](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md) (Runnable Python labs), [`labs/python/epml/mapping.py`](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/mapping.py) (Mapping algorithms), [`labs/python/epml/overview.py`](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/overview.py) (Course overview lab), [`labs/python/epml/ct.py`](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ct.py) (Cardiac CT)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_course["Course experience"]
  node_modules["Course modules<br/>[README.md]"]
  node_figures["Interactive figures<br/>[README.md]"]
  node_python_labs["Runnable Python labs<br/>[README.md]"]
  node_octave_labs["Octave math labs<br/>[README.md]"]
  node_reference["Formula and glossary<br/>[README.md]"]
  node_practice["Practice questions<br/>[README.md]"]
  node_errata["Public errata log<br/>[README.md]"]
end

subgraph group_signals["Signals and mapping"]
  node_aiecg["AI surface ECG<br/>[aiecg.py]"]
  node_electrograms["Electrogram models<br/>[electrograms.py]"]
  node_mapping["Mapping algorithms<br/>[mapping.py]"]
  node_agent["Mapping QC agent<br/>[agent.py]"]
  node_origins["Activation origins<br/>[origins.py]"]
  node_twin["Digital twin<br/>[twin.py]"]
end

subgraph group_imaging["Cardiac imaging"]
  node_ct["Cardiac CT<br/>[ct.py]"]
  node_fluoro["Fluoroscopy models<br/>[fluoro.py]"]
  node_mri["Cardiac MRI<br/>[mri.py]"]
end

subgraph group_learning_models["Learning models"]
  node_ml["ML evaluation<br/>[ml.py]"]
  node_foundation["Foundation models<br/>[foundation.py]"]
  node_retrieval["Text retrieval<br/>[retrieval.py]"]
  node_overview["Course overview lab<br/>[overview.py]"]
  node_deploy["Deployment lab<br/>[deploy.py]"]
end

subgraph group_advanced["Advanced lab topics"]
  node_ionic["Ionic models<br/>[ionic.py]"]
  node_pinn["Physics-informed nets<br/>[pinn.py]"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_modules
node_modules -->|"uses"| node_figures
node_modules -->|"includes"| node_python_labs
node_modules -->|"includes"| node_octave_labs
node_modules -->|"offers"| node_reference
node_modules -->|"offers"| node_practice
node_modules -->|"offers"| node_errata
node_python_labs -->|"runs"| node_aiecg
node_python_labs -->|"runs"| node_electrograms
node_python_labs -->|"runs"| node_mapping
node_python_labs -->|"runs"| node_ct
node_python_labs -->|"runs"| node_mri
node_python_labs -->|"runs"| node_ml
node_python_labs -->|"runs"| node_foundation
node_python_labs -->|"runs"| node_retrieval
node_python_labs -->|"runs"| node_agent
node_python_labs -->|"runs"| node_deploy
node_python_labs -->|"runs"| node_overview
node_python_labs -->|"runs"| node_pinn
node_agent -->|"uses"| node_mapping
node_origins -->|"uses"| node_mapping
node_twin -->|"uses"| node_mapping
node_ct -->|"uses"| node_fluoro
node_foundation -->|"uses"| node_aiecg
node_deploy -->|"uses"| node_aiecg
node_overview -->|"uses"| node_ct
node_overview -->|"uses"| node_ml
node_retrieval -->|"uses"| node_ml
node_python_labs -->|"runs"| node_ionic

click node_modules "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_figures "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_python_labs "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_octave_labs "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_reference "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_practice "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_errata "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md"
click node_aiecg "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/aiecg.py"
click node_electrograms "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/electrograms.py"
click node_mapping "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/mapping.py"
click node_agent "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/agent.py"
click node_origins "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/origins.py"
click node_twin "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/twin.py"
click node_ct "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ct.py"
click node_fluoro "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/fluoro.py"
click node_mri "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/mri.py"
click node_ml "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ml.py"
click node_foundation "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/foundation.py"
click node_retrieval "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/retrieval.py"
click node_overview "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/overview.py"
click node_deploy "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/deploy.py"
click node_ionic "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ionic.py"
click node_pinn "https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/pinn.py"

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_modules,node_figures,node_python_labs,node_octave_labs,node_reference,node_practice,node_errata toneBlue
class node_aiecg,node_electrograms,node_mapping,node_agent,node_origins,node_twin toneAmber
class node_ct,node_fluoro,node_mri toneMint
class node_ml,node_foundation,node_retrieval,node_overview,node_deploy toneRose
class node_ionic,node_pinn,node_learner toneIndigo
```

## Components

### Course experience

- [Course modules](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`
- [Interactive figures](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`
- [Runnable Python labs](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`
- [Octave math labs](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`
- [Formula and glossary](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`
- [Practice questions](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`
- [Public errata log](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/README.md): `README.md`

### Signals and mapping

- [AI surface ECG](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/aiecg.py): `labs/python/epml/aiecg.py`
- [Electrogram models](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/electrograms.py): `labs/python/epml/electrograms.py`
- [Mapping algorithms](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/mapping.py): `labs/python/epml/mapping.py`
- [Mapping QC agent](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/agent.py): `labs/python/epml/agent.py`
- [Activation origins](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/origins.py): `labs/python/epml/origins.py`
- [Digital twin](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/twin.py): `labs/python/epml/twin.py`

### Cardiac imaging

- [Cardiac CT](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ct.py): `labs/python/epml/ct.py`
- [Fluoroscopy models](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/fluoro.py): `labs/python/epml/fluoro.py`
- [Cardiac MRI](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/mri.py): `labs/python/epml/mri.py`

### Learning models

- [ML evaluation](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ml.py): `labs/python/epml/ml.py`
- [Foundation models](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/foundation.py): `labs/python/epml/foundation.py`
- [Text retrieval](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/retrieval.py): `labs/python/epml/retrieval.py`
- [Course overview lab](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/overview.py): `labs/python/epml/overview.py`
- [Deployment lab](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/deploy.py): `labs/python/epml/deploy.py`

### Advanced lab topics

- [Ionic models](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/ionic.py): `labs/python/epml/ionic.py`
- [Physics-informed nets](https://github.com/raghavendrasri/open-ep-mapping-lab/blob/main/labs/python/epml/pinn.py): `labs/python/epml/pinn.py`

### Other components

- **Learner**

## Connections

- Learner → Course modules: studies (evidence: `README.md`)
- Course modules → Interactive figures: uses (evidence: `README.md`)
- Course modules → Runnable Python labs: includes (evidence: `README.md`)
- Course modules → Octave math labs: includes (evidence: `README.md`)
- Course modules → Formula and glossary: offers (evidence: `README.md`)
- Course modules → Practice questions: offers (evidence: `README.md`)
- Course modules → Public errata log: offers (evidence: `README.md`)
- Runnable Python labs → AI surface ECG: runs (evidence: `README.md`)
- Runnable Python labs → Electrogram models: runs (evidence: `README.md`)
- Runnable Python labs → Mapping algorithms: runs (evidence: `README.md`)
- Runnable Python labs → Cardiac CT: runs (evidence: `README.md`)
- Runnable Python labs → Cardiac MRI: runs (evidence: `README.md`)
- Runnable Python labs → ML evaluation: runs (evidence: `README.md`)
- Runnable Python labs → Foundation models: runs (evidence: `README.md`)
- Runnable Python labs → Text retrieval: runs (evidence: `README.md`)
- Runnable Python labs → Mapping QC agent: runs (evidence: `README.md`)
- Runnable Python labs → Deployment lab: runs (evidence: `README.md`)
- Runnable Python labs → Course overview lab: runs (evidence: `README.md`)
- Runnable Python labs → Physics-informed nets: runs (evidence: `README.md`)
- Mapping QC agent → Mapping algorithms: uses (evidence: `labs/python/epml/agent.py`)
- Activation origins → Mapping algorithms: uses (evidence: `labs/python/epml/origins.py`)
- Digital twin → Mapping algorithms: uses (evidence: `labs/python/epml/twin.py`)
- Cardiac CT → Fluoroscopy models: uses (evidence: `labs/python/epml/ct.py`)
- Foundation models → AI surface ECG: uses (evidence: `labs/python/epml/foundation.py`)
- Deployment lab → AI surface ECG: uses (evidence: `labs/python/epml/deploy.py`)
- Course overview lab → Cardiac CT: uses (evidence: `labs/python/epml/overview.py`)
- Course overview lab → ML evaluation: uses (evidence: `labs/python/epml/overview.py`)
- Text retrieval → ML evaluation: uses (evidence: `labs/python/epml/retrieval.py`)
- Runnable Python labs → Ionic models: runs (evidence: `README.md`)
