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 cal
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 "
Why not "propagated"?
On Fri, Oct 14, 2016 at 1:08 PM, Sebastian Berg
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
> >
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
+1 for propagate_mask. That is the only proposal that immediately makes sense
to me. "contagious" may be cute but I think approximately 0% of users would
guess its purpose on first use.
Can you elaborate on what happens with the masks exactly? I didn't quite get
why propagate_mask=False was uni