SignalCompare

specfem2d · specfem-waves · cross-correlation similarity

🗺 Domain Map

Optional — visualise the spatial domain, source and receivers

▼
1
Model A
shift signal start (e.g. 1.2/f₀)
specfem2d
specfem-waves
📂
Click to browse or drag & drop .semd files
+ STATIONS file (optional)
2
Model B
shift signal start (e.g. 1.2/f₀)
specfem2d
specfem-waves
📂
Click to browse or drag & drop .semd files
+ STATIONS file (optional)
Preview — Model A
Load Model A files to see the preview.
Preview — Model B
Load Model B files to see the preview.
3
Compare
cross-correlation per station pair
Method

Stations are matched by position (1st selected receiver of A with 1st of B, etc.).

Both signals are resampled onto a common time axis using linear interpolation, then z-score normalised (zero mean, unit variance) before comparison. This removes amplitude differences between models.

The Pearson cross-correlation coefficient r ∈ [−1, 1] measures waveform shape similarity:

  • ■ r ≥ 0.999 — near-identical
  • ■ r ≥ 0.99 — excellent
  • ■ r ≥ 0.95 — good
  • ■ r < 0.95 — significant differences

Results

Pair
Coords A
Coords B
Cross-corr.
CC
Model A — expanded view
Model B — expanded view