Notes on the estimation of the numerical density of arbitrary profiles: the edge effect | Synapse