Joint MASW + H/V analysis¶
The MASW + H/V tab uses the dispersion curve together with a single-station H/V curve measured on the same site to constrain a single Vs profile. Dispersion resolves the shallow part well; the H/V curve carries the resonance, that is the thickness and contrast of the cover, often deeper than the array can reach.
Loading the curve, comparing it with the model and choosing the settings is free; Start the joint analysis uses credits and is charged only if it delivers the solutions.
Try it now with the example
File → Open the example loads a project that already has the H/V curve and the joint analysis run: open the MASW + H/V tab and browse curve, results and verification without spending credits. To run it again just press Start the joint analysis. The full walk-through, with the numbers and a screenshot for each step, is in H/V worked example; models and thresholds in Theory of the H/V analysis.

What you need first
The picking of the dispersion curve (Spectra tab) and the initial model with estimated Vs (Inversion tab). The Vs and thickness limits and the "Vs does not decrease with depth" arrow are those of the layer table: the joint analysis uses them as they are. If the H/V curve shows a deep resonance, make sure the model reaches that depth (add a layer or widen the thickness maxima).
The H/V curve¶
Import curve… opens, inside the card, the file reading with a preview. The curve enters the project only with Apply the curve.
Formats read:
- the HVSR NX CSV (columns
f_Hz;hv;hv_piu;hv_meno;…): recognised automatically, with the H/V ± σ band; .hvfiles (frequency, average, minimum, maximum; the f0 and number of windows written in the header are read);- any column text (
.txt,.csv): you set the columns of frequency, mean H/V and optionally lower and upper limits (numbered from 1; 0 = no column), the separator, decimal comma.
Header lines are skipped automatically. Up to 16 MB and 50,000 samples; frequencies and values must be positive, and where limits are given lower ≤ mean ≤ upper must hold.

Use in the calculation¶
| Field | Meaning |
|---|---|
| The curve is | Ambient-noise H/V is compared with the diffuse-field H/V of the model; Rayleigh ellipticity with the theoretical ellipticity of the fundamental mode. They are not the same quantity: choose the one you measured. |
| Minimum / maximum frequency | The band used in the calculation; 0 = first or last sample. Samples outside the band stay in the project and in the plot. Restrict it to where the measurement is reliable. |
| Calculation points | 6 to 500 on a logarithmic scale (default 40); 0 = all samples in the band. More points, slower run. |
| f0 peak | From the file (if present), the most prominent in the band, or the maximum in the band. Chosen f0 [Hz] sets it by hand. |
The maximum is not necessarily the resonance
The detected peak is a numerical criterion. Whether it is really the site resonance depends on peak stability, measurement quality and geology: an anthropic or topographic peak constrains a model that does not exist.
Comparison before the analysis¶
With a curve in the project, the H/V curve and model panel (the same plot as in the Inversion tab) shows the observed curve with its band, the Rayleigh ellipticity of the initial model and of the chosen solution and, for ambient H/V, the diffuse-field H/V of the model. It is the quickest way to see whether profile and measurement tell the same resonance before spending credits.

Settings¶
The Settings panel is closed on opening; the defaults are fine for a first run.
| Group | Fields |
|---|---|
| Weights | MASW weight and H/V weight (default 0.5 and 0.5). Make the two misfits comparable: each term is divided by the minimum of its own independent search, so that neither prevails just because of scale or number of points. Weight sensitivity: at the end it tells which model would win with weights 0.25/0.75 and 0.75/0.25. |
| H/V curve | Use the curve band as uncertainty; uncertainty where the band is missing (10 %); soil damping (2 %), which lowers and widens the diffuse-field peaks. |
| Dispersion | Uncertainty of points without error bar (5 %); exclusion of points with λ beyond twice the array length (the array length comes from the selected traces); weighting of points by their frequency spacing. |
| Constraints | Half-space stiffer than every layer; screening of the initial models with the quarter wavelength on f0 (it only chooses where to start, the misfit always uses the full calculation). |
| Search | Initial models, iterations, models per iteration, resampled cells, seed, stratified initial population, walk continuing in the cell, local refinement evaluations. |
| Verification | Models for the prediction, tolerance of accepted models, derivative step, SVD tolerance. |
With the same seed, data and settings the run repeats identically; empty = random.
The run¶
Start the joint analysis runs, in a single job:
- a search on dispersion only;
- a search on the H/V curve only;
- the joint search, which also starts from the best models of the first two.
Each search is a neighbourhood search (Sambridge, 1999) within the same limits of the layer table, followed by a local refinement of the best model. The Analysis run card shows the four phases (the three searches and the verification) with the number of models of each: the running phase is highlighted, the finished ones have a tick. Below, the bar gives the overall progress, the iteration, the best misfit and the elapsed time. Stop halts the run with no charge. With the default settings a run usually takes a few minutes.

At the end the joint solutions replace those of the inversion: you browse them in the Inversion tab, and category and report use the chosen solution as usual. If you later run a normal inversion, its solutions replace the joint ones and the joint analysis result leaves the project.

The verification¶
Below the results, Analysis verification collects the indicators in six tabs. There is no overall score: each indicator says one thing, with its threshold ("within norm" / "to be assessed").
| Tab | Content |
|---|---|
| Summary | Indicators by area: data compatibility, identifiability, fixed assumptions, numerical regularity, weights. |
| Prediction from MASW | The H/V curve predicted by the accepted models of the dispersion-only search, which never saw the curve: median and 5th–95th band, point by point with the residual and whether the observation falls inside. |
| Three searches | Objective function, MASW and H/V misfit, generated, valid, accepted and non-computable models of each search; convergence plot. |
| Parameters | For each Vs and thickness: joint value, sensitivity to MASW and H/V data, local uncertainty, and mean, σ, CV and percentiles in the dispersion-only models. |
| Correlations and rank | Singular values, rank and condition number of the linearised problem; correlated parameter pairs and correlation matrix. |
| Robustness | Six perturbed fixed assumptions (ν ± 0.05, surface density ± 10 %, interface depths ± 10 %) with the shift of f0; different weights; stability of the forward calculation. |


How to read it
- Prediction from MASW outside the band does not mean incompatible data: dispersion often does not constrain the deep part of the profile, and that is exactly what the H/V curve adds.
- Joint misfits much higher than the minima of the separate searches: the two measurements pull in different directions. Check band and type of the curve, the low-frequency picking and the depth of the model.
- Pairs with |r| ≥ 0.9 and rank lower than the number of parameters: some parameters trade off (typically thickness and Vs of the same layer) and the data cannot tell them apart. Reduce the layers or lock what you know.
- The set of explored models is not a probability distribution: it tells how much models equally compatible with the data vary, not how probable each one is.
Report¶
With a joint analysis run, the report has the Joint MASW + H/V analysis section: method, data and settings (file, band, points, weights, models, seed), outcome of the three searches, the figures (H/V curve, prediction from MASW, convergence, profiles), the verification indicators, the parameters and the perturbed assumptions. The same figures can be exported as DXF and PDF from the Report tab. If the data changed after the analysis, the section says so.