``powersupply`` ================ This module contains functions for communication with the powersupply that runs the electromagnet. The bipolar powersupply (CAENels EASY-Driver 0520) is able to provide +/- 5A at +/- 20V and is connected via ethernet to the measurement PC. .. image:: _static/powersupply.jpg :width: 800 :alt: image of the bipolar powersupply CAENels EASY-Driver 0520 The electromagnet (PHYWE) consists of 2 coils with 600 windings that have resistance of 2.5 Ohm and an inductance of 9 mH each. The maximal continuous current is 2A but for a short time it can take up to 4A. The coils are connected via a 30mm x 30mm horse shoe iron core that can be closed with two different sets of pole shoes. The pole shoes with a central hole have a gap of 7 mm and provide an out-of-plane field for the polar moke configuration. The pole shoes without a hole have a gap of 12 mm and are designed for an in-plane field. .. image:: _static/magnet.jpg :width: 800 :alt: image of the electromagnet and pole shoes from different angles functions ----------------- .. automodule:: ppf_moke.powersupply :show-inheritance: :members: :inherited-members: