Correlation between topographic and magnetic properties of electrochemically prepared nickel films