I think the possibilities that have been mentioned so far (here or in
the PR) are:

contagious
contagious_mask
propagate
propagate_mask
propagated

`propogate_mask=False` seemed to imply that the mask would never be set,
so Eric also suggested
propagate_mask='any' or propagate_mask='all'


I would be happy with 'propagated=False' as the name/default. As Eric
pointed out, most MaskedArray functions like sum implicitly don't
propagate, currently, so maybe we should do likewise here.


Allan

On 10/14/2016 01:44 PM, Benjamin Root wrote:
> Why not "propagated"?
> 
> On Fri, Oct 14, 2016 at 1:08 PM, Sebastian Berg
> <sebast...@sipsolutions.net <mailto:sebast...@sipsolutions.net>> wrote:
> 
>     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
>     <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@scipy.org <mailto:NumPy-Discussion@scipy.org>
>     > https://mail.scipy.org/mailman/listinfo/numpy-discussion
>     <https://mail.scipy.org/mailman/listinfo/numpy-discussion>
>     >
> 
>     _______________________________________________
>     NumPy-Discussion mailing list
>     NumPy-Discussion@scipy.org <mailto:NumPy-Discussion@scipy.org>
>     https://mail.scipy.org/mailman/listinfo/numpy-discussion
>     <https://mail.scipy.org/mailman/listinfo/numpy-discussion>
> 
> 
> 
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
> 

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to