Calculation of the local density of states for a discrete pyramidal model of a diamond tip surmounted by a single atom