Skip to content

Commit ac1cca8

Browse files
committed
Fix references to scipy routines
1 parent 7365072 commit ac1cca8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎astropy/convolution/convolve.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def convolve(array, kernel, boundary='fill', fill_value=0.,
2222
'''
2323
Convolve an array with a kernel.
2424
25-
This routine differs from `scipy.ndimage.filters.convolve` because
25+
This routine differs from `scipy.ndimage.convolve` because
2626
it includes a special treatment for ``NaN`` values. Rather than
2727
including ``NaN`` values in the array in the convolution calculation, which
2828
causes large ``NaN`` holes in the convolved array, ``NaN`` values are

‎astropy/convolution/kernels.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ class MexicanHat1DKernel(Kernel1D):
540540
This kernel is derived from a normalized Gaussian function, by
541541
computing the second derivative. This results in an amplitude
542542
at the kernels center of 1. / (sqrt(2 * pi) * width ** 3). The
543-
normalization is the same as for `scipy.ndimage.filters.gaussian_laplace`,
543+
normalization is the same as for `scipy.ndimage.gaussian_laplace`,
544544
except for a minus sign.
545545
546546
Parameters
@@ -610,7 +610,7 @@ class MexicanHat2DKernel(Kernel2D):
610610
This kernel is derived from a normalized Gaussian function, by
611611
computing the second derivative. This results in an amplitude
612612
at the kernels center of 1. / (pi * width ** 4). The normalization
613-
is the same as for `scipy.ndimage.filters.gaussian_laplace`, except
613+
is the same as for `scipy.ndimage.gaussian_laplace`, except
614614
for a minus sign.
615615
616616
Parameters

0 commit comments

Comments
 (0)