This distribution contains the pfm9k.2 geomagnetic field model and datafiles as presented in A. Nilsson, N. Suttie, J. S. Stoner and R. Muscheler (2022): Recurrent ancient geomagnetic field anomalies shed light on future evolution of the South Atlantic Anomaly PNAS, doi/10.1073/pnas.XXXXXXXXXX. Please see this publication for details on the model.


Abbreviations:
ARC = Archaeomagnetic data
SED = Sedimentary data
D = declination
I = inclination
F = intensity
lat = latitude
lon = Longitude
publ-age = Published age provided in GEOMAGIAv50
publ-sigma-age = Published age uncertainty provided in GEOMAGIAv50


This distribution contains the following Matlab script (works on MATLAB version 2018b and later):


export_DIF.m – Matlab script to export time series of Declination (D), inclination (I) and intensity (F) from the model.

plot_gauss.m – Matlab script to plot time series of Gauss coefficents from the model.
plot_arc_data.m – Matlab script to plot model-data comparisons for archaeomagnetic data.
plot_sed_data.m – Matlab script to plot model-data comparisons for sedimentary data.

pred_gt.m – Matlab script to calculate geomagnetic field components D/I/F from Gauss coefficients
conv_gt.m – Matlab script to convolve a geomagnetic field time series using the pDRM function described in the paper.
relocate_dat.m – Matlab script to relocate data to a common latitude/longitude for plotting purposes, using dipole field approximations.   


The pfm9k2.mat data file contains the following:


t[N,1] = Model time vector (N=191) from -7500 CE to 2000 CE every 50 years.
gt[N,n,M] = Gauss coefficients: N=191 time steps, n=L(L+2)=35 coefficients per timeslice (g10, g11, h11, g20, g21, h21, ... , g55, h55) and M=1000 posterior samples.

arc.dat[TA,10] = Archaeomagnetic data (TA=9440). Columns: [publ-age, publ-sigma-age, lat, lon, D, sigma-D, I, sigma-I, F, sigma-F].
arc.uid[TA,1] = Unique ID from the GEOMAGIA50.v3 database.
arc.age[TA,M] = Posterior ages (M=1000 posterior samples).

sed.site.dat[:,10] Sedimentary data from [site]. Columns: [publ-age, depth, lat, lon, D, sigma-D, I, sigma-I, F, sigma-F].
sed.site.depth[:,1] = Chronology depth
sed.site.age[:,M] = Posterior chronology ages
sed.site.age_init[:,4] = Initial chronology. Columns: [depth, mean-age, lower95%, upper95%].
sed.site.beta[1,M] = Posterior lock-in shape factor, beta.
sed.site.gamma[1,M] = Posterior half lock-in depth, gamma.
sed.site.delta_D[1,M] = Posterior declination correction, delta_D.
sed.site.delta_I[1,M] = Posterior declination correction, delta_I.

nu(5,M) = Posterior samples of the number of degrees of freedom, nu, for the student's t error-distribution. Rows: [ARC-D,ARC-I,ARC-F,SED-D,SED-I].

prior.gt_mu[N,n] = prior mean for the Gauss coefficients, obtained from mu_x.
prior.gt_sd[N,n] = prior std. dev. for the Gauss coefficients, obtained from the diagonal of the covariance matrix K_xx.
prior.beta[1,2] = The (alpha_B and beta_B) parameters for the prior distribution of the lock-in shape factor, beta ~ Gamma(alpha_B,beta_B).
prior.gamma[1,2] = The (alpha_g and beta_g) parameters for the prior distribution of the half lock-in depth, gamma ~ Gamma(alpha_g,beta_g).
prior.delta_D[1,1] = The sigma_delta_D parameter for the prior distribution of the declination correction, delta_D ~ Normal(0,sigma_delta_D^2).
prior.delta_I[1,1] = The sigma_delta_I parameter for the prior distribution of the inclination correction, delta_I ~ Normal(0,sigma_delta_I^2).
prior.gamma[1,2] = The (alpha_n and beta_n) parameters for the prior distribution of the number of degrees of freedom, nu ~ Gamma(alpha_n,beta_n).

