firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegrator

firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegrator#

class firecrown.models.cluster.integrator.numcosmo_integrator.NumCosmoIntegrator(method=None, relative_tolerance=0.0001, absolute_tolerance=1e-12)[source]#

Bases: Integrator

The NumCosmo implementation of the Integrator base class.

Parameters:

Public Methods:

__init__([method, relative_tolerance, ...])

param method:

integrate(func_to_integrate)

Integrate the provided integrand argument with NumCosmo.

Inherited from Integrator

__init__()

integrate(func_to_integrate)

Call this method to integrate the provided integrand argument.


integrate(func_to_integrate)[source]#

Integrate the provided integrand argument with NumCosmo.

Parameters:

func_to_integrate (Callable[[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]], ndarray[Any, dtype[float64]]]) –

Return type:

float