The influence of the magnetic field configuration on plasma parameters and microstructure of niobium nitride films