-
Notifications
You must be signed in to change notification settings - Fork 42
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
SLICOT SB10YD wrapper #153
Comments
Hello @JinmingChe, You can find the documentation for SB10YD at http://slicot.org/objects/software/shared/doc/SB10YD.html and the source code along with the documentation header is at https://github.com/SLICOT/SLICOT-Reference/blob/main/src/SB10YD.f Please feel free to create a pull request and we can guide you along with what needs to be improved in order to merge it into Slycot. You can use #118 as an example.
... we should try to generalize these instructions and put them into the developer wiki. |
Thanks very much for your reply and guides. I will follow your advises, learn to pull request and add the SB10YD. |
Hi, I follow the instruction in F2PY, use the smart way create a signature file from SB10YD.f. And I modified the SB10YD.pyf. Next, should I copy the subroutine sb10yd to synthesis.pyf and then build the extension module by running synthesis.pyf ? |
Yes
No, build the full wrapper in a development environment. If you are using conda, there is a wikipage. Alternatively use Even without a venv, import slycot._wrapper
print(slycot._wrapper.sb10yd.__doc__) to see the automatically generated call signature of the sb10yd function. |
Hi, I followed the approach mentioned above, got the following error:
My example is:
My synthesis.pyf:
My synthesis.py
Hope you can help, thanks. |
That is kind of circular. You can either do it like
Or restrict the shape of
Please create a pull request! |
Hi, Thanks so much. I am still learning Git, so what is a pull request? |
HI, I got new error messages:
I am not confidence on the synthesis.py function, can you help me to check it out? Bo |
It is easier to review code in a pull request. Please follow: https://github.com/python-control/python-control/wiki/How-to-contribute-with-a-pull-request (replace all Github help: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests This will also run the tests on our servers as soon as you commit code and we see the occuring errors immediately. |
|
Closed by #203 |
Hi, I am a student working on speech signal processing.
I want to implement the fitfrd function in python. It seems that sb10yd of slycot has implemented this function. But it is not currently wrapped. It would be so kind if you can give me some advices.
Sincerely.
The text was updated successfully, but these errors were encountered: