bfieldtools.thermal_noise.noise_covar¶
-
bfieldtools.thermal_noise.
noise_covar
(B_coupling, vl, Nmodes=None)¶ Calculates (AC or DC) magnetic noise covariance along x, y and z from the modes vl.
- Parameters
- B_coupling: ndarray (Np, 3, Nvertices)
Magnetic field coupling matrix from the mesh
- vl: ndarray (Nvertices, Nmodes, x Nfreqs) or (Nvertices, Nmodes)
The Johnson noise current modes on the mesh
- Nmodes: int
How many modes are included? If None, all modes in vl are included
- Returns
- Bcov: ndarray (Np, Np, 3, Nfreqs) or (Np, Np, 3)
Magnetic noise covariance