scale_cube¶
-
gammapy.maps.
scale_cube
(data, kernels, parallel=True)[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: - data :
ndarray
Input data.
- kernels: list of `~astropy.convolution.Kernel`
List of convolution kernels.
- parallel : bool
Whether to use multiprocessing.
Returns: - cube :
ndarray
Array of the shape (len(kernels), data.shape)
- data :