Scanning Hall Probe Microscopy Code