[Numpy-discussion] how to name "contagious" keyword in np.ma.convolve
sebastian at sipsolutions.net
Fri Oct 14 13:08:17 EDT 2016
On Fr, 2016-10-14 at 13:00 -0400, Allan Haldane wrote:
> Hi all,
> Eric Wieser has a PR which defines new functions np.ma.correlate and
> We're deciding how to name the keyword arg which determines whether
> masked elements are "propagated" in the convolution sums. Currently
> are leaning towards calling it "contagious", with default of True:
> def convolve(a, v, mode='full', contagious=True):
> Any thoughts?
Sounds a bit overly odd to me to be honest. Just brain storming, you
could think/name it the other way around maybe? Should the masked
values be considered as zero/ignored?
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part
More information about the NumPy-Discussion