Constants#
It is sometimes convenient to have some fundamental and derived constants predefined in the package. In micromagneticmodel
, the following constants are available.
[1]:
import micromagneticmodel as mm
1. Magnetic constant#
[2]:
mm.consts.mu0
[2]:
1.2566370614359173e-06
2. Elementary charge#
[3]:
mm.consts.e
[3]:
1.6021766208e-19
3. Electron’s mass#
[4]:
mm.consts.me
[4]:
9.1093835611e-31
4. Boltzmann constant#
[5]:
mm.consts.kB
[5]:
1.3806485279e-23
5. Planck’s constant#
[6]:
mm.consts.h
[6]:
6.62607004081e-34
6. Lande g-factor#
[7]:
mm.consts.g
[7]:
2.00231930436182
7. Reduced Planck constant#
[8]:
mm.consts.hbar
[8]:
1.0545718002680283e-34
8. Gyrotropic ratio#
[9]:
mm.consts.gamma
[9]:
176085964286.56906
9. Bohr magneton#
[10]:
mm.consts.muB
[10]:
9.274009992067861e-24
10. LLG precession term gamma#
[11]:
mm.consts.gamma0
[11]:
221276.14872118403