It is sometimes convenient to have some fundamental and derived constants predefined in the package. In micromagneticmodel
, the following constants are available.
import micromagneticmodel as mm
mm.consts.mu0
1.2566370614359173e-06
mm.consts.e
1.6021766208e-19
mm.consts.me
9.1093835611e-31
mm.consts.kB
1.3806485279e-23
mm.consts.h
6.62607004081e-34
mm.consts.g
2.00231930436182
mm.consts.hbar
1.0545718002680283e-34
mm.consts.gamma
176085964286.56906
mm.consts.muB
9.274009992067861e-24
mm.consts.gamma0
221276.14872118403