Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using interpolate.splev #34

Open
haimivan opened this issue Jan 8, 2020 · 2 comments
Open

Using interpolate.splev #34

haimivan opened this issue Jan 8, 2020 · 2 comments
Labels
feature_request Request for a feature question Notes an issue as a question

Comments

@haimivan
Copy link

haimivan commented Jan 8, 2020

Hi,

when using scipy.interpolate.splev, I get the following error:

Unknown attribute 'splev' of type Module(<module 'scipy.interpolate' from '/home/user/venv/numba/lib/python3.6/site-packages/scipy/interpolate/__init__.py'>)

Is it possible to integrate splev within numba-scipy?

Or does this error message mean I do not use numba-scipy correctly?

Thanks in advance!

@stuartarchibald
Copy link
Contributor

Thanks for the report. The error message means that it has not been implemented.

Is it possible to integrate splev within numba-scipy?

I would imagine so, the use of Numba's extension API @overload decorator is strongly recommended for this task. A guide to using @overload is here and API documentation is here.

It may be useful to take a look at examples of pull requests adding support for a NumPy function that have already been done if guidance is needed... here's a couple:

There's also a contributing guide here: https://numba-scipy.readthedocs.io/en/latest/developer/contributing.html

@stuartarchibald stuartarchibald added feature_request Request for a feature question Notes an issue as a question labels Jan 8, 2020
@haimivan
Copy link
Author

haimivan commented Jan 8, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request Request for a feature question Notes an issue as a question
Projects
None yet
Development

No branches or pull requests

2 participants