def METHOD_NAME(self, is_diplo=True, stat="a", scale="Log", min_dist=0.00001):
    """Calculate isolation by distance statistics for Diploid or Haploid."""
    if is_diplo:
        return self._controller.calc_ibd_diplo(self._fname, stat, scale, min_dist)
    else:
        return self._controller.calc_ibd_haplo(self._fname, stat, scale, min_dist)