A package for reading, manipulating and visualising magnetic