[SciPy-User] Why does generic_filter coerce input to float64?

Moore, Eric (NIH/NIDDK) [F] eric.moore2 at nih.gov
Wed Jan 14 08:31:57 EST 2015


> From: Juan Nunez-Iglesias [mailto:jni.soma at gmail.com] 
> Sent: Monday, January 12, 2015 10:52 PM
> To: SciPy Users List
> Subject: Re: [SciPy-User] Why does generic_filter coerce input to float64?
>
> Hi Eric,
>
> Thanks for the response!
>
> Changing it would be a very bad thing and probably break a lot of code out 
> there. However, a kwarg would be most useful to me! Would a PR to add this
> be welcome?
>
> At scikit-image, we converged on "preserve_dtype" as a slightly 
> easier-to-parse name for such a kwarg. Thoughts?
>
> Juan.
>
>

Yes, I think so.


More information about the SciPy-User mailing list