Text this: Electronic and magnetic properties of NiPd and CoPd nanostructures