script for calculating density of localisations within given radius