The science
Method. Magnetotellurics measures the ratio of the horizontal electric to magnetic field of natural waves (solar wind, lightning). The impedance is Z = Ex/Hy; apparent resistivity and phase are ρa = |Z|²/(ωμ0) and φ = arg Z. For a uniform half-space ρa = ρ and φ = 45°; a phase above 45° means resistivity is falling with depth.
Layered earth. Wait's recursion from the bottom up: Zj = Z0j (Zj+1 + Z0j tanh(kjhj)) / (Z0j + Zj+1 tanh(kjhj)) with k = √(iωμ0/ρ) and Z0 = iωμ0/k.
Depth of investigation. Skin depth δ = √(2ρ/ωμ0) ≈ 503√(ρT) m; Bostick depth D = δ/√2 is a better estimate of the depth a given period senses. Long periods see deeper, but conductive layers shield what lies below.
Simplifications. One-dimensional horizontally layered earth, plane-wave source, no static shift, no anisotropy, no topography or 2D/3D structure, and a simple coordinate-descent fit rather than a full regularised inversion. Real data inversion is non-unique; the noise toggle shows why.