[Numpy-discussion] how to name "contagious" keyword in np.ma.convolve
ben.v.root at gmail.com
Fri Oct 14 13:44:50 EDT 2016
Why not "propagated"?
On Fri, Oct 14, 2016 at 1:08 PM, Sebastian Berg <sebastian at sipsolutions.net>
> 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
> > 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?
> 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?
> - Sebastian
> > Cheers,
> > Allan
> > _______________________________________________
> > NumPy-Discussion mailing list
> > NumPy-Discussion at scipy.org
> > https://mail.scipy.org/mailman/listinfo/numpy-discussion
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion