attuning to nature

Section 2

How to measure attunement

Two things unfold in time. A tide and a breath, a birdsong and a heartbeat, a canopy moving in wind and the eyes moving across it. We want to know whether they are related.

That question sounds simple and is not, because “related” turns out to mean many different things. This page walks through different types one at a time. Every figure allows you to move a control and watch the answer change.

Part one

Setting up

Why a single number cannot answer the question, and what a recording has to become before you can compare it with anything else.

The problem

One number cannot answer this

Put any two recordings side by side and, usually, nothing lines up. Correlate them and you get a number near zero: honest, and useless. Because you asked whether they rise and fall together, and that is only one of the ways two things can be bound to each other.

One might follow the other after a delay. It might keep time with its rhythm while staying permanently out of step. It might respond in a way that bends, so a real dependence averages out to nothing. Or it might not agree in timing at all, and instead share the texture of its variability.

In one sentence
Four different relationships, four different instruments. Reaching for the wrong one does not give you a weak answer. It gives you zero, confidently.

Here is the whole map before we start. Each of these is a section below.

Before any comparison

First decide what you are comparing

Almost every signal worth studying is really two signals stacked together: something fast, and a slower shape riding on top of it. A voice has a pitch and a cadence. A flame has a flicker and a guttering. Footsteps have an impact and a gait. Usually the slow shape carries the relationship you are hunting, and the fast one is merely the carrier it is written on.

So the first move is not a comparison at all. It is a reduction: turn each recording into one slow trace of how much is happening. Do that to two unlike signals and they become the same kind of object, sampled at the same rate, and every method further down this page will work on them without knowing or caring where they came from.

There are really two choices here, and running them together is the mistake worth avoiding. The first is what each recording must become before it is a trace at all. A sound and an EEG already are one, but an ECG is not, since its information is in when beats arrive rather than how large they are, so it reduces to instantaneous rate.

The second choice is the one that is easy to miss: having got a trace, you still decide what about it to compare. Three options, and all three are ordinary:

  • The trace itself, with nothing extracted.
  • A frequency component over time: how much energy sits in one band, moment to moment. Band-pass, then take the envelope.
  • Complexity over time: the scaling exponent recomputed in a sliding window, so that “how irregular is this” becomes a series rather than a single number.

Every one of those comes out the same shape: one value per moment. That is precisely why any of them can be handed to any method further down this page, and it is the vertical axis of the grid in step 07.

What you compare · signal × feature

What you record

What you compare · the trace itself

0 sarbitrary units8 s
Signal
Feature
0.70 Hz
  • Pressure at the microphone
  • The trace itself
A sound is already a one-dimensional trace, so no reduction is needed before choosing a feature. The trace as it stands, with nothing extracted. A perfectly legitimate choice: the linear and information families are usually applied at exactly this level.

In one sentence
Choosing the observable is a modelling decision, not a preprocessing step. It encodes what you think matters about the signal, and applying the same transform to everything because it worked once is the fastest way to measure something real about a quantity nobody cares about.

Part two

Four questions

Each family asks something different, and each is blind to something the others catch. Move the controls: every number here is computed, not illustrated.

Family one

Linear: moving together, in step

The question it asks

Do they rise and fall together, allowing for a delay?

The simplest question, and the one worth asking first. Its subtlety is the delay: effects take time to travel, so a correlation computed where two signals happen to sit will understate a real relationship badly. Slide one past the other and take the peak.

Linear family · lagged cross-correlation

peaklag 0
Peak r
0.805
at lag
297 ms
r at zero lag
0.384
300 ms
0.50
  • Environment
  • Body, the same signal, delayed and noised
  • Correlation at each lag
Correlating two traces where they happen to sit answers the wrong question, because effects take time to arrive. Sweeping the lag and taking the peak is what a windowed cross-correlation reports: one peak and one lag per window, so that both can drift as conditions change. Notice that the recovered delay stays right even as noise buries the correlation: the lag survives long after the strength has gone.

Blind to · relationships that bend, and anything locked at a constant offset. Both register as roughly zero.

In one sentence
The lag is often worth more than the correlation. A strength is a description; a delay is a claim about mechanism.

Family two

Oscillatory: keeping time

The question it asks

Is the timing relationship between them stable?

Entrainment is not really about amplitudes agreeing. It is about a constant relationship in phase, one thing keeping time with another whatever the offset between them happens to be. Phase-locking value asks that and nothing else: is the gap the same now as it was a moment ago?

Oscillatory family · phase locking

Δφ

PLV
0.310
Pearson r
-0.047
Phase diff
-137°
0.60
  • Oscillator 1 · 1.00 Hz
  • Oscillator 2 · 1.35 Hz
Raise K slowly. Somewhere near K ≈ 1.1 the two lock, but they lock about a quarter cycle apart, and there PLV is near 1 while the correlation hovers around zero. A linear estimator would call that pair uncoupled, and it would be wrong. This is the whole reason the oscillatory family exists apart from the linear one: it asks only whether the phase relationship is stable, not whether the two rise and fall together.

Coherence asks a stricter version, requiring phase and amplitude to agree together. That strictness has a real cost. On signals whose loudness wanders, which is most natural ones, it refuses to see relationships a phase-only measure finds easily.

Blind to · relationships with no rhythm to hold on to. Phase is only meaningful for something that oscillates.

In one sentence
Two signals can be perfectly locked and completely uncorrelated at the same time. Choosing the estimator that matches the kind of regularity a signal actually has is not a technicality. It is most of the analysis.

Family three

Information: any dependence at all

The question it asks

Does knowing one of them reduce your uncertainty about the other?

A correlation of zero means “no linearrelationship”. It does not mean the two are unrelated, and reading it that way discards every relationship that bends. Mutual information asks the general question instead, and does not care what shape the answer takes.

Information family · dependence without correlation

Pearson r
-0.096
Mutual information
0.97 bits

Knowing x tells you a great deal about y, but the relationship folds back on itself, so the positive and negative halves cancel and Pearson r collapses to nearly zero. Mutual information does not care about direction or shape; it only asks whether knowing one reduces uncertainty about the other.

Research implementations generally reach for a k-nearest-neighbour estimator, and a bias-corrected effective MI, rather than the histogram used here, but the question is identical: is there any dependence, of any shape? Granger causality and transfer entropy belong to this same family because they ask that question with a direction attached.

Blind to · direction and sign. It will tell you the two are bound together, never that more of one meant less of the other. Granger causality and transfer entropy belong to this family and add the direction back.

In one sentence
Generality is not free: this measure reports dependence that is not there whenever signals are smooth, which is exactly why the last part of this page exists.

Family four

Complexity: a shared way of varying

The question it asks

Do they vary in the same way, across scales?

The strangest family, and the one that best fits what attunement between a body and a place might actually be. Two things can be deeply related without ever lining up in time. What they share instead is the statistical structure of their fluctuations: how variability at fine scales relates to variability at coarse ones.

Complexity family · matched scaling

log scale slog F(s)
α environment
0.98
α body
1.04
Exponent match
0.970
Pearson r
0.022

The slope of each line is the exponent: 0.5 for white noise, 1.0 for pink, 1.5 for a random walk. The matching score is simply 1 − |α₁ − α₂| / α_max. Note what the comparison step actually is: a difference between two numbers. In this method the complexity lives entirely in the feature, not in the operation. Worth knowing before the family name convinces you otherwise. Measures whose coupling step is itself scale-aware do exist (detrended cross-correlation analysis, cross-sample entropy), and they occupy their own cell in the grid two sections down.

1.00
1.00
  • Environment
  • Body
Set both sliders to the same value. The two traces still look nothing alike: they share no samples, and their correlation stays near zero, yet their fluctuation curves lie almost on top of each other and the matching score goes to 1. That is the whole idea: two people walking together do not synchronise step for step, but their gait-variability scaling exponents converge (Marmelat & Delignières, 2012). Attunement need not mean simultaneity.

Blind to · timing, entirely. Two perfectly matched signals need never coincide, and this measure would not notice if they did.

In one sentence
Attunement need not mean simultaneity. Two people walking together do not synchronise step for step, yet the scaling of their gait variability converges.

Part three

Making it mean something

How the four fit together, why every coupling number needs a null before it counts as a result, and what follows from all of it.

Zooming out

The whole space, in one grid

Now that the four questions are familiar, the rest of the field collapses into something small. Every coupling method is a choice of what to compare, meaning the three features from step 02, crossed with one of the four ways of comparing it. Twelve cells, and every one of them is occupied.

The faded cells are the interesting ones. They do not mean “impossible”; they mean “nobody does this, and here is why”. Oscillatory coupling on a raw trace is faded not because it fails but because it cannot happen: phase has to be extracted first, so any method that appears to do it is quietly taking the feature step for you.

The framework matrix · what you compare × how you compare it

Coupling methods arranged by feature type and coupling family. Select a cell to read what that combination asks.
LinearPearson, cross-correlation
Oscillatoryphase / spectrum / phase-amplitude
InformationMI, effective MI, Granger, TE, PID, Φ-ID
ComplexityDCCA, cross-sample entropy, multiscale
Raw signalx[t] itself
Oscillatory featuresenvelope, phase, band-power
Complexity featuresfractality + entropy: DFA, FD, FOOOF, MSE

Linear coupling · raw signal

cross-correlation. Slide one signal past the other and take the peak. The simplest coupling there is, and the one worth trying before anything else: if it answers your question, nothing further is needed.

Named methodGeneral approachUncommon / not standard
Adapted from the methods report. No cell is empty: the faded ones say a combination is uncommon or needs an extra step, which is a statement about practice rather than possibility. Select any cell to read what it asks.

In one sentence
Two names dissolve here. Phase-amplitude coupling is not a separate kind of thing; it is oscillatory coupling between two oscillatory features. And the familiar “complexity” methods are a Pearson correlation wearing a complexity feature, while the genuinely scale-aware bivariate measures sit in a different cell entirely.

The check that makes it mean something

You need to know what nothing looks like

The question it asks

How large would this number be if there were no relationship at all?

Every estimator above returns a number greater than zero even when there is nothing there. Smooth signals correlate by accident. Autocorrelated signals manufacture mutual information out of nothing. A recording that looks generously long contains far fewer independent observations than it does samples.

The defence is to build a null on purpose. Destroy the relationship while keeping everything else intact: same spectrum, same autocorrelation, same distribution. Measure again, and repeat until you know the shape of nothing. Then ask where your real number falls in it.

Is it real? · phase-shuffled surrogates

observedmutual information (bits) →150 surrogates
Observed MI
0.041 bits
Surrogate mean
0.045 bits
Percentile
49th
z
-0.2

Start at zero coupling. The observed MI is plainly greater than zero, and it means nothing. Two smooth, autocorrelated signals produce apparent dependence for free. The surrogate distribution shows exactly how much a signal of this spectrum manufactures on its own, and the observed value sits comfortably inside it. Raise the coupling until the marker leaves the histogram.

0.00
Phase shuffling keeps a signal’s power spectrum, and therefore its autocorrelation and its smoothness, while destroying any relationship it had to the other signal. Whatever the estimator reports on those is what the shape of the signal manufactures for free. Some measures fold this in directly, subtracting the surrogate mean so the number returned is already dependence above the spectral floor. The same logic scales up: run the test on many pairs at once and you need to correct for having given yourself many chances to be fooled.

In one sentence
A coupling value on its own is not a result. The result is where it sits relative to a null you built deliberately.

The principle underneath

No measure is best; each one is a question

It is tempting to look for the most sensitive method and use it everywhere. The four demos above show why that instinct fails. Build a pair coupled purely in phase and the linear measure reports nothing. Build a pair coupled through a fold and the phase measure reports nothing. Match two signals in scaling alone and every timing-based measure returns zero, correctly, because there is no timing relationship to find.

In one sentence
The real work happens before any estimator runs: deciding what kind of relationship you think is there, and therefore what would count as evidence. A method chosen after seeing the data is not a measurement. It is a preference.

That is also the honest reason to show four rather than name a favourite. Attunement between a living thing and its surroundings almost certainly is not one phenomenon. A body may track a rhythm in one respect, ignore it in another, and share a texture with it in a third, at once, and all of it real.

The figures on this page are working miniatures, running genuine FFTs, genuine detrended fluctuation analysis and genuine surrogate distributions. They are deliberately simpler in their estimator choices than a research implementation would be, and each caption says where it simplifies. Still to be written: cross-frequency phase-amplitude coupling in its own right, how these measures behave on signals that are not stationary, and what changes when you have many channels rather than two.