Skip to content

Commit 6b7820a

Browse files
committed
Remove defunct astropy filter
1 parent 03fb7c9 commit 6b7820a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎processing_components/image/deconvolution.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,6 @@ def restore_cube(model: Image, psf: Image, residual=None, **kwargs) -> Image:
338338
else:
339339
log.debug('restore_cube: Using specified psfwidth = %s' % (size))
340340

341-
# TODO: Remove filter when astropy fixes convolve
342-
import warnings
343-
warnings.simplefilter(action='ignore', category=FutureWarning)
344-
from astropy.convolution import Gaussian2DKernel, convolve_fft
345-
346341
# By convention, we normalise the peak not the integral so this is the volume of the Gaussian
347342
norm = 2.0 * numpy.pi * size ** 2
348343
gk = Gaussian2DKernel(size)

0 commit comments

Comments
 (0)