hyperfine.demagnetization.N_cuboid
- hyperfine.demagnetization.N_cuboid(a: float, b: float, c: float) float[source]
Effective demagnetizing factor for a rectangular cuboid.
Calculate the (effective) demagnetization factor N for a rectangular cuboid using an approximate analytic formula that interpolates between the limiting cases of an infinitely thin (c -> 0, N -> 1) and an infinitely thick (c -> +inf, N -> 0) sample. The field is assumed to be applied parallel to the c-axis.
Calculated using Eq. (22) from:
R. Prozorov and V. G. Kogan, “Effective demagnetizing factors of diamagnetic samples of various shapes”, Phys. Rev. Appl. 10, 014030 (2018). https://doi.org/10.1103/PhysRevApplied.10.014030
- Parameters:
a – Length of the rectangular cuboid.
b – Width of the rectangular cuboid.
c – Height of the rectangular cuboid.
- Returns:
The demagnetization factor N.