Fig. 2: Sketch of nanowire probes.

a Iron nanowire probe (upper part, in red, \({d}_{{{{{{\rm{Fe}}}}}}}\) and \({l}_{{{{{{\rm{Fe}}}}}}}\) referring to the iron nanowire’s diameter and length, respectively) contained in a protecting carbon nanotube (in grey); the lower part shows a magnetic sample (sample surface at \(z=0\)) containing a bubble-like magnetic single-domain configuration (in blue), which is embedded in an oppositely magnetized environment (red). \({q}_{{{{{{\rm{s}}}}}}}\) indicates the upper magnetic pole associated with the magnetic charge of the bubble base. b–f indicate several types of nanowire (NW) geometries and magnetization configurations. b The end of an ideal infinitely long and infinitely thin nanowire probe generates a stray-field resembling the field of a point monopole \({q}_{{{{{{\rm{t}}}}}}}\). Deviations from point monopole behaviour can be caused by: (c) finite NW length, (d) non-zero NW diameter, (e) non-homogeneous internal magnetization, and (f) a NW magnetization direction that deviates from the long (easy) axis.