Analysis of magnetic data for archaeological prospecting