Spin-polarized electronic structure of the Ni(001) surface and thin films | Synapse