pyleecan.Methods.Slot.HoleM52.comp_magnetization_dict module¶
- comp_magnetization_dict(self, is_north=True)[source]¶
Compute the dictionary of the magnetization direction of the magnets (key=magnet_X, value=angle[rad]) Mangetization angle with Hole centered on Ox axis
- Parameters:
self (HoleM52) – a HoleM52 object
is_north (True) – True: comp north magnetization, else add pi [rad]
- Returns:
mag_dict – magnetization dictionary (key=magnet_X, value=angle[rad])
- Return type:
dict