  Metallic barcode nanowires (BNWs) composed of repeating heterogeneous
segments fabricated by template-assisted electrodeposition can offer extended
functionality in magnetic, electrical, mechanical, and biomedical applications.
We can consider such nanostructures as a three-dimensional system of
magnetically interacting elements with magnetic behavior strongly affected by
complex magnetostatic interactions. This study discusses the influence of
geometrical parameters of segments on the character of their interactions and
the overall magnetic behavior of the array of BNWs having alternating
magnetization. By controlling the applied current densities and the elapsed
time in the electrodeposition, we regulate the dimension of the Fe-Au BNWs. We
show that the Fe and Au segments are made of Fe-Au alloys with high and low
magnetization. With the help of micromagnetic simulations, we discover and
analyze the three types of magnetostatic interactions in the BNW arrays. As a
result, we demonstrate that the dominating type of interaction depends on the
geometric parameters of the Fe and Au segments and the interwire and intrawire
distances.
