# emfmed/merit architecture

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

- Interactive diagram: https://gitdiagram.com/emfmed/merit
- Repository: https://github.com/emfmed/merit

## Overview

MERIT is a MATLAB toolbox for microwave radar image reconstruction. Its documented workflow loads radar signals and scan metadata, defines an imaging domain, computes propagation delays, reconstructs an image with a selectable beamformer, then slices and visualizes the result. Other documented capabilities include signal management and comparison, multi-medium delay processing, image-quality metrics, and parallel or GPU execution. Source excerpts were unavailable, so relationships below are limited to those shown in the README example or explicitly documented there.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Imaging workflow"]
  node_imaging_domain["Imaging domain"]
  node_delay_geometry["Path delays"]
  node_reconstruction["Beamform entry"]
  node_das["DAS beamformer"]
  node_cdas["CDAS beamformer"]
  node_dmas["DMAS beamformer"]
end

subgraph group_signals["Signal handling"]
  node_signal_view["Signal visualization"]
  node_signal_management["Signal management"]
  node_signal_processing["Signal processing"]
  node_multi_medium_delay["Medium delay"]
end

subgraph group_analysis["Image analysis"]
  node_metrics["Image metrics"]
  node_slice_view["Image slicing"]
  node_image_view["3D image display"]
end

subgraph group_runtime["Execution options"]
  node_parallel_gpu["Parallel and GPU"]
end

node_user(("MATLAB user"))
node_scan_data["Scan data"]

node_user -->|"loads signals"| node_scan_data
node_user -->|"generates domain"| node_imaging_domain
node_user -->|"calculates delays"| node_delay_geometry
node_user -->|"reconstructs image"| node_reconstruction
node_scan_data -->|"supplies signals"| node_reconstruction
node_imaging_domain -->|"supplies points"| node_reconstruction
node_delay_geometry -->|"supplies delays"| node_reconstruction
node_reconstruction -->|"selects algorithm"| node_das
node_user -->|"slices image"| node_slice_view
node_reconstruction -->|"supplies image"| node_slice_view
node_user -->|"visualizes signals"| node_signal_view
node_user -->|"manages signals"| node_signal_management
node_user -->|"processes signals"| node_signal_processing
node_user -->|"delays signals"| node_multi_medium_delay
node_user -->|"analyzes images"| node_metrics
node_user -->|"visualizes images"| node_image_view
node_user -->|"configures execution"| node_parallel_gpu

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_imaging_domain,node_delay_geometry,node_reconstruction,node_das,node_cdas,node_dmas,node_user toneBlue
class node_signal_view,node_signal_management,node_signal_processing,node_multi_medium_delay toneAmber
class node_metrics,node_slice_view,node_image_view toneMint
class node_parallel_gpu toneRose
class node_scan_data toneIndigo
```

## Components

### Imaging workflow

- **Imaging domain**
- **Path delays**
- **Beamform entry**
- **DAS beamformer**
- **CDAS beamformer**
- **DMAS beamformer**

### Signal handling

- **Signal visualization**
- **Signal management**
- **Signal processing**
- **Medium delay**

### Image analysis

- **Image metrics**
- **Image slicing**
- **3D image display**

### Execution options

- **Parallel and GPU**

### Other components

- **MATLAB user**
- **Scan data**

## Connections

- MATLAB user → Scan data: loads signals (evidence: `README.md`)
- MATLAB user → Imaging domain: generates domain (evidence: `README.md`)
- MATLAB user → Path delays: calculates delays (evidence: `README.md`)
- MATLAB user → Beamform entry: reconstructs image (evidence: `README.md`)
- Scan data → Beamform entry: supplies signals (evidence: `README.md`)
- Imaging domain → Beamform entry: supplies points (evidence: `README.md`)
- Path delays → Beamform entry: supplies delays (evidence: `README.md`)
- Beamform entry → DAS beamformer: selects algorithm (evidence: `README.md`)
- MATLAB user → Image slicing: slices image (evidence: `README.md`)
- Beamform entry → Image slicing: supplies image (evidence: `README.md`)
- MATLAB user → Signal visualization: visualizes signals (evidence: `README.md`)
- MATLAB user → Signal management: manages signals (evidence: `README.md`)
- MATLAB user → Signal processing: processes signals (evidence: `README.md`)
- MATLAB user → Medium delay: delays signals (evidence: `README.md`)
- MATLAB user → Image metrics: analyzes images (evidence: `README.md`)
- MATLAB user → 3D image display: visualizes images (evidence: `README.md`)
- MATLAB user → Parallel and GPU: configures execution (evidence: `README.md`)
