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

Confusing duplicate Hankel transform using Ogata method #5

Closed
dhawat opened this issue Jul 3, 2021 · 1 comment
Closed

Confusing duplicate Hankel transform using Ogata method #5

dhawat opened this issue Jul 3, 2021 · 1 comment

Comments

@dhawat
Copy link
Collaborator

dhawat commented Jul 3, 2021

def hankel_transform_ogata(f, n=0, h=0.01, N=1000):

@guilgautier guilgautier changed the title what is the difference between this function and the function transform line 130 Confusing duplicate Hankel transform using Ogata method Jul 9, 2021
@guilgautier
Copy link
Member

Functions following the definitions of Hankel transform classes correspond to old code that might have been commented or even deleted.


The function you mention

def hankel_transform_ogata(f, n=0, h=0.01, N=1000):

is a standalone implementation of Ogata's method for computing hankel transform type of integrals.


The object counterpart

class HankelTransformOgata(HankelTransform):

allows us to store intermediate quantities that may be reused for the subsequent computation of Hankel transform type integrals.

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

No branches or pull requests

2 participants