Semiparametric spectral modeling of the Drosophila connectome