def product_gaussians(): gauss_dists = create_gaussians() prod_gauss = ProductPDF(pdfs=gauss_dists, obs=obs1) return prod_gauss