The accumulative persistence function -- a useful functional summary statistic for topological data analysis