[Numpy-discussion] how to name "contagious" keyword in np.ma.convolve
Allan Haldane
allanhaldane at gmail.com
Fri Oct 14 13:00:28 EDT 2016
Hi all,
Eric Wieser has a PR which defines new functions np.ma.correlate and
np.ma.convolve:
https://github.com/numpy/numpy/pull/7922
We're deciding how to name the keyword arg which determines whether
masked elements are "propagated" in the convolution sums. Currently we
are leaning towards calling it "contagious", with default of True:
def convolve(a, v, mode='full', contagious=True):
Any thoughts?
Cheers,
Allan
More information about the NumPy-Discussion
mailing list