Get the height of the hole magnet of the corresponding index
self (HoleM52R) – A HoleM52R object
index (int) – Index of the magnet to get the height
Hmag – Height of the Magnet [m]
float