def METHOD_NAME(self, locs):
    """Compute density field at locations.
    """
    (npts, dim) = locs.shape
    METHOD_NAME = p_density * numpy.ones((1, npts, 1), dtype=numpy.float64)
    return METHOD_NAME