crow.integrator.scipy_integrator module

The SciPy integrator module.

This module holds the scipy implementation of the integrator classes

class crow.integrator.scipy_integrator.ScipyIntegrator(relative_tolerance: float = 0.0001, absolute_tolerance: float = 1e-12)[source]

Bases: Integrator

The scipy implementation of the Integrator base class using nquad.

integrate(func_to_integrate: Callable[[ndarray[tuple[Any, ...], dtype[float64]], ndarray[tuple[Any, ...], dtype[float64]]], ndarray[tuple[Any, ...], dtype[float64]]]) float[source]

Integrate the provided integrand argument with SciPy.