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

Fix bessel zeros #70

Merged
merged 6 commits into from
Mar 1, 2016
Merged

Fix bessel zeros #70

merged 6 commits into from
Mar 1, 2016

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Mar 1, 2016

The calculation of Bessel zeros for high orders with the Multiprecisson Toolbox was wrong, see #57.

This pull request removes the usage of the Multiprecission Toolbox and tests if there are other working approaches available for high orders.

See #57 (comment)
The result seems to be more or less identical to the one obtained with
sphbesselh_zeros() in terms of stability -- the obtained values for z, p differ
quite a lot.
One advantage of sphhankel_laplace() is that it will not lead to Inf or Nan, but
only to large numerical errors in the reproduced sound field for orders >85.

Maybe it would be a good idea to try to calculate z directly via an formula
without using the zeros() function.
The poles are always zero and are now directly set by zeros()
@hagenw hagenw added the bug label Mar 1, 2016
@hagenw hagenw self-assigned this Mar 1, 2016
The function has now a hardcoded method switch to choose between both methods
for calculatinh the zeros. We should do some testing which is the better method
and use that one.
hagenw added a commit that referenced this pull request Mar 1, 2016
@hagenw hagenw merged commit 410e8da into master Mar 1, 2016
@hagenw hagenw deleted the fix_bessel_zeros branch March 1, 2016 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant