Time Series Analysis with Harmonic Models:
A Microgravity Case Study
Iterative harmonic correction of systematic effects in portable relative gravimeter surveys
How many harmonic components does a time series need—and when should you stop adding them?
Removing a trend can leave slow variations and overlapping oscillations in your residuals. We developed the Iterative Harmonic Correction Framework (IHCF) to model structured variability in gravity records, using measurement uncertainties and statistical criteria to decide which components to retain.
Understand the method ↓ See the real data ↓
Repeated readings at the same location can retain systematic temporal variability. IHCF models the statistically supported harmonic structure in the preprocessed base-station record. Schematic illustration; the real observations appear below.
The analysis problem
A better fit needs a stopping rule
Adding an oscillation can improve a fit. IHCF asks whether the improvement justifies the extra complexity. It builds the model iteratively, rather than prescribing one linear or polynomial trend for the entire record.
Search two period bands on the current residuals — a short band (0.5–4 days) and a long band (4–200 days). Weight each reading by its measurement uncertainty.
Compare the best candidate from each band. Accept the winner only if its chi-square reduction exceeds a complexity-penalised threshold.
Stop when the global residual criterion is met, or no candidate passes the acceptance test. A maximum component count provides a safety bound.
Base-station processing combines memory-jump alignment, tidal correction and iterative harmonic modelling.

After preprocessing, IHCF computes residuals and checks convergence (Eq. 1). If further modelling is needed, a period search proposes a component, accepted only if it passes Eq. 2. The selected periods feed a global weighted least-squares adjustment, yielding the corrected base-station residuals.
Here 〈χ²〉 = ν = n − ptot is the expected chi-square under Gaussian residuals; n is the number of observations and ptot the total parameter count. The criterion tests whether the reduced chi-square is within the adopted fluctuation threshold around unity.
A candidate harmonic is accepted only if its chi-square reduction exceeds the complexity penalty 3 ln n plus 6, where n is the number of observations.
Methods in the paper → Link available upon publication.
Why microgravity?
Small gravity anomalies need a reliable reference
Microgravity surveys target anomalies of a few tens of µGal, providing information about subsurface density contrasts, including those associated with cavities.
But readings at a fixed base station can vary over time. After memory-jump alignment and Earth-tide correction, our most complex records retain a structure that a single linear or polynomial trend does not describe.
This is the variability IHCF models. Its origin is not assumed to be exclusively instrumental.

Scintrex CG-5 deployments: (a) a vegetated rural path, (b) a roadside urban setting and (c) steep rocky terrain in a mountainous desert landscape.
Scintrex CG-5 · 2021–2025
Eight field datasets after IHCF
20.7-day laboratory benchmark
These values describe base-station residual dispersion, not the accuracy of detecting a geological target.
A real example
From a structured record to inspectable residuals
The laboratory benchmark shows the complete diagnostic view: the preprocessed gravity series and harmonic model, the residual distribution, and the residuals through time. Inspecting all three matters more than the appearance of the fitted curve alone.
Lab1 · 20.7-day laboratory benchmark

IHCF correction of the 20.7-day Lab1 record at San Giovanni Valdarno. (a) Memory-jump aligned and ETERNA-tide corrected gravity, relative to its minimum, with the global harmonic fit. (b) Post-IHCF residual histogram and Gaussian fit. (c) Residuals over time, with zero reference and ±σ bounds.
The eight field records before and after IHCF
These figures share the time-series layout but use dataset-specific vertical scales; compare the labelled values rather than panel heights.

Before IHCF: preprocessed field records, relative to each series minimum.

After IHCF: field residuals with site-specific ±σ bands.
Nine records. One view of the results.
Each pair connects the variability before IHCF to the residual standard deviation after modelling. Filled teal points show the final residuals; open points show the preprocessed input.
Base-station standard deviation for nine datasets before and after IHCF, in µGal. Open points show variability after memory-jump alignment and ETERNA tidal correction; filled points show the residual standard deviation after uncertainty-weighted harmonic fitting. The horizontal axis is logarithmic.
Beyond this case study
Could the same approach help with your data?
IHCF operates on timestamps, measurements and per-reading uncertainties. Other time series may present similar modelling questions, but the evidence reported here is gravimetric. Transfer requires checking record duration, sampling, uncertainty estimates and the stability of the oscillations.
Before removing a fitted component, consider whether it could contain the scientific signal you want to preserve.
Read the study
Iterative harmonic correction of systematic effects in portable relative gravimeter surveys
Dario Petrone et al. · GEOPHYSICS · Revised manuscript submitted.
Journal article link available upon publication.
IHCF code on GitHub
The IHCF source code is available on GeoExplorer’s GitHub repository.
GeoExplorer Impresa Sociale s.r.l. co-funded the PhD research.