Magnetization

Material magnetization M is described by R3 vectors with components in A/m.

magnetization = ba.R3(Mx, My, Mz)

Magnetic materials are constructed as

color = (0.8, 0.2, 0.2)
material = ba.RefractiveMaterial(name, color, delta, beta, magnetization)
# or
material = ba.SLDMaterial(name, color, sld_real, sld_imag, magnetization)

Values in tesla or gauss

Magnetization is often quoted as μ₀M in tesla. Multiply such a value by ba.tesla to obtain M in A/m:

magnetization = ba.R3(0, 2.2*ba.tesla, 0)  # mu_0*M = 2.2 T along y

ba.tesla = 1/μ₀, approximately 795774.715 A/m; ba.gauss = 1e-4*ba.tesla, approximately 79.5774715 A/m. Thus 2.2*ba.tesla and 22000*ba.gauss specify the same magnetization. The model uses μ₀ = 4π × 10⁻⁷ T m/A.

For M reported in emu/cm³, multiply by 1000 to obtain A/m; see the unit conversions.

These inputs describe magnetization M. Magnetic induction B also depends on the magnetic field strength H through B = μ₀(H + M).

Examples