Occupancy of the 3d electron shell of Co and Cr in nanosized CoCrPt magnetic thin films