Persistent homology and geometry : doctoral thesis