Correlation between magnetic and structural properties of nanocrystalline soft magnetic alloys