trapz_loglog#

gammapy.utils.integrate.trapz_loglog(y, x, axis=- 1)[source]#

Integrate using the composite trapezoidal rule in log-log space.

Integrate y (x) along given axis in loglog space.

Parameters
yarray_like

Input array to integrate.

xarray_like, optional

Independent variable to integrate over.

axisint, optional

Specify the axis.

Returns
trapzfloat

Definite integral as approximated by trapezoidal rule in loglog space.