Defect analysis by statistical fitting to 3D atomic maps.