gsmooth_cube

FITS_tools.cube_regrid.gsmooth_cube(cube, kernelsize, use_fft=True, psf_pad=False, fft_pad=False, kernelsize_mult=8, **kwargs)[source] [edit on github]

Smooth a cube with a gaussian in 3d

Because even a tiny cube can become enormous if you have, say, a 1024x32x32 cube, padding is off by default