Something like ``` def individual_heterozygosity(ts, ind): ts.pairwise_diversity(ind.nodes) ``` should do it - very simple, but we want to make it easy and natural for people to deal with individuals.