def METHOD_NAME(A, mask, voxelsize = None, bins=100, roi_mask=None):
    """
    returns the relative enrichment of label of a label at a given distance from a mask, along with the total signal
    enclosed within that distance.
    -ve distances correspond to points in the interior of the mask.
    """
    bnA, bmA, binsA = imageDensityAtDistance(A, mask, voxelsize, bins, roi_mask=roi_mask)
    enrichment = bmA / bmA[bnA > 1].mean()
    total = bmA * bnA
    enclosed_signal = np.cumsum(total / total.sum())
    enclosed_area = np.cumsum(bnA.astype('f')/bnA.sum())
    return binsA, enrichment, enclosed_signal, enclosed_area