magpylib wrapper#
Defines a class allowing to wrap a magpylib object into a MagneticField object
compatible with atomsmltr
- class atomsmltr.environment.fields.magnetic.magpylib.MagpylibWrapper(magpy_object, tag: str = None)[source]#
Bases:
MagneticFieldA wrapper for magpylib objects
- Parameters:
magpy_object (magpy_object) – the object to wrap
tag (str, optional) – the field tag, by default None
- property type#
a description of the object type
- Type:
str