Re: DEP: deprecate complex dtypes in PchipInterpolator and Akima1DInterpolator
Joseph Fox-Rabinovitz <[email protected]> Mon, 25 Dec 2023 11:32:42 -0600
| Newsgroups | gmane.comp.python.scientific.devel |
|---|---|
| Message-ID | <CAAa1KPavBpzBwos_JU_99vOm15oRN_-hiWANWzHRGvRY2yqgqg@mail.gmail.com> |
--===============4042130903215797875== Content-Type: multipart/alternative; boundary="000000000000b66218060d58f4b4" --000000000000b66218060d58f4b4 Content-Type: text/plain; charset="UTF-8" Is there any reason not to fix the underlying problem instead? On Mon, Dec 25, 2023, 10:36 Lucas Colley <[email protected]> wrote: > Hi all, > > https://github.com/scipy/scipy/pull/19752 deprecates complex dtypes in > PchipInterpolator and Akima1DInterpolator. It also clarifies the > documentation for these interpolators and RegularGridInterpolator w.r.t. > complex data. > > In Evgeni(@ev-br)'s words, these interpolators return "nonsense" for > complex data. This deprecation moves us towards raising an exception on the > suggestion of Marten(@mhvk), as "people may be getting hit with bad > results, better that they know!". > > If anyone objects to the deprecation, please let us know! > > Cheers, > Lucas > _______________________________________________ > SciPy-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/scipy-dev.python.org/ > Member address: [email protected] > --000000000000b66218060d58f4b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>Is there any reason not to fix the underlying proble= m instead?<br><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai= l_attr">On Mon, Dec 25, 2023, 10:36 Lucas Colley <<a href=3D"mailto:luca= [email protected]">[email protected]</a>> wrote:<br></div><block= quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc= solid;padding-left:1ex">Hi all,<br> <br> <a href=3D"https://github.com/scipy/scipy/pull/19752" rel=3D"noreferrer nor= eferrer" target=3D"_blank">https://github.com/scipy/scipy/pull/19752</a> de= precates complex dtypes in PchipInterpolator and Akima1DInterpolator. It al= so clarifies the documentation for these interpolators and RegularGridInter= polator w.r.t. complex data.<br> <br> In Evgeni(@ev-br)'s words, these interpolators return "nonsense&qu= ot; for complex data. This deprecation moves us towards raising an exceptio= n on the suggestion of Marten(@mhvk), as "people may be getting hit wi= th bad results, better that they know!".<br> <br> If anyone objects to the deprecation, please let us know!<br> <br> Cheers,<br> Lucas<br> _______________________________________________<br> SciPy-Dev mailing list -- <a href=3D"mailto:[email protected]" target=3D= "_blank" rel=3D"noreferrer">[email protected]</a><br> To unsubscribe send an email to <a href=3D"mailto:[email protected]= g" target=3D"_blank" rel=3D"noreferrer">[email protected]</a><br> <a href=3D"https://mail.python.org/mailman3/lists/scipy-dev.python.org/" re= l=3D"noreferrer noreferrer" target=3D"_blank">https://mail.python.org/mailm= an3/lists/scipy-dev.python.org/</a><br> Member address: <a href=3D"mailto:[email protected]" target=3D"_blan= k" rel=3D"noreferrer">[email protected]</a><br> </blockquote></div></div></div> --000000000000b66218060d58f4b4-- --===============4042130903215797875== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SciPy-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: [email protected] --===============4042130903215797875==--