Separation of ferromagnetic components by analyzing the hysteresis loops of remanent magnetization