Effect of annealing on the magnetic states of FEBID-grown cobalt nanopatterns examined by off-axis electron holography.