scale_cube

gammapy.maps.scale_cube(data, kernels)[source]

Compute scale space cube.

Compute scale space cube by convolving the data with a set of kernels and stack the resulting images along the third axis.

Parameters
datandarray

Input data.

kernels: list of `~astropy.convolution.Kernel`

List of convolution kernels.

Returns
cubendarray

Array of the shape (len(kernels), data.shape)