get_magnet_dict (method)

get_magnet_dict(self)[source]

Return a dictionnary with all the magnets of the Hole

Parameters

self (Hole) – A Hole object

Returns

magnet_dict – Dictionnary of magnet (key = magnet_X, value= Magnet or None)

Return type

{Magnet}