bfieldtools.thermal_noise.compute_current_modes

bfieldtools.thermal_noise.compute_current_modes(obj, T, resistivity, thickness, mode='AC', freqs=array([0]), Nmodes=None, return_eigenvals=False, **kwargs)

Calculates the (AC or DC) Johnson noise current modes on the conducting surface.

Parameters
obj: Trimesh-object or MeshConductor-object

Represents the boundary on which current density is specified or MeshConductor object that wraps the mesh

T: float

Temperature in Kelvins

resistivity: float or array (Nfaces)

Resistivity value in Ohm/meter

thickness: float or array (Nfaces)

Thickness of the surface. NB! Must be small in comparison to observation distance

mode: ‘AC’ or ‘DC’

Calculate modes as a function of frequency or just at DC?

freqs: Nfreqs array

The frequencies at which the eddy-current modes are computed. Obsolete for ‘DC’ mode. In ‘AC’, calculate at DC in default.

Nmodes: int

How many modes are computed? If None, all Nvertices modes are computed

return_eigenvals: boolean

Return also the eigenvalues (the inverse circuit time constants)?

kwargs: dict

Passed to Conductor creation if a Trimesh object is passed as ‘obj’

Returns
vl: (Nvertices x Nmodes x Nfreqs) (AC) or (Nvertices x Nmodes) (DC) array

The spectral eddy-current modes

u: Nmodes array

The eigenvalues