Analysis of degaussing process of ferromagnetic objects