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

[Feature Request] Modified Bessel Function Integration? OR Integration over complex x? #45

Closed
kpardo opened this issue Jun 16, 2020 · 5 comments

Comments

@kpardo
Copy link

kpardo commented Jun 16, 2020

Thanks a lot for this package -- I've found it to be really useful lately!

I am currently working on a project that requires integrating over modified Bessel functions (specifically, I_0(x) and K_0(x)). I've tried using Hankel for this, but it requires allowing for integration over J_0(i*x). Is it possible to add this feature? Thanks for all of your work on this package!

@steven-murray
Copy link
Owner

Ah, that's a great idea. You can integrate over f(i*x)*J_0(x), but not over J_0(i*x) yet. I'm pretty strapped for time lately, but I do think this is a useful feature to have. It would take me a bit of ramp up time though.

Do you have ideas for how to go about it, @kpardo ? @MuellerSeb?

@kpardo
Copy link
Author

kpardo commented Jun 17, 2020

@steven-murray I can try my hand at implementing the procedure, if you or @MuellerSeb happen to know where I can find the proper formalism for integrating J_0(i*x). As far as I can tell, the Ogata (2005) formalism doesn't necessarily work for complex arguments.

@steven-murray
Copy link
Owner

Hmmm, thinking about this more, I don't think this is really applicable in hankel (at least not in its current scope). J_0(i*x) = I_0(x) which is not an oscillating function, and therefore cannot use Ogata's method. It seems like a fundamentally different kind of integral.

@kpardo
Copy link
Author

kpardo commented Jun 19, 2020

Ah good point! Well, thanks for thinking about it!

@steven-murray
Copy link
Owner

Np. Be sure to let me know if anything else can be improved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants