firecrown.models.cluster.integrator.numcosmo_integrator ======================================================= .. py:module:: firecrown.models.cluster.integrator.numcosmo_integrator .. autoapi-nested-parse:: The NumCosmo integrator module. This module holds the NumCosmo implementation of the integrator classes Classes ------- .. autoapisummary:: firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegralMethod firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegrator firecrown.models.cluster.integrator.numcosmo_integrator.CountsIntegralND Module Contents --------------- .. py:class:: NumCosmoIntegralMethod(*args, **kwds) Bases: :py:obj:`enum.Enum` .. autoapi-inheritance-diagram:: firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegralMethod :parts: 1 The available NumCosmo integration methods. .. py:attribute:: P :value: 0 .. py:attribute:: P_V :value: 0 .. py:attribute:: H :value: 0 .. py:attribute:: H_V :value: 0 .. py:class:: NumCosmoIntegrator(method = None, relative_tolerance = 0.0001, absolute_tolerance = 1e-12) Bases: :py:obj:`firecrown.models.cluster.integrator.integrator.Integrator` .. autoapi-inheritance-diagram:: firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegrator :parts: 1 The NumCosmo implementation of the Integrator base class. .. py:attribute:: method .. py:method:: integrate(func_to_integrate) Integrate the provided integrand argument with NumCosmo. .. py:class:: CountsIntegralND(dim, fun, args) Bases: :py:obj:`numcosmo_py.Ncm.IntegralND` .. autoapi-inheritance-diagram:: firecrown.models.cluster.integrator.numcosmo_integrator.CountsIntegralND :parts: 1 Integral subclass used to compute the integrals using NumCosmo. .. py:attribute:: dim .. py:attribute:: fun .. py:attribute:: extra_args .. py:method:: do_get_dimensions() Returns the dimensionality of the integral. .. py:method:: do_integrand(x, dim, npoints, _fdim, fval) Called by NumCosmo to evaluate the integrand.