We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
filters_axisym
L
pys2let.axisym_wav_l
Consider the following
import numpy as np import pys2let import s2wav L, j_min, B = 1024, 2, 3 old_kappa = pys2let.axisym_wav_l(B, L, j_min)[1] new_kappa = s2wav.filter_factory.filters.filters_axisym(L, J_min=j_min, lam=B)[0][j_min:].T np.testing.assert_equal(old_kappa.shape, new_kappa.shape) np.testing.assert_equal((old_kappa == np.inf).sum(), 0) np.testing.assert_equal((new_kappa == np.inf).sum(), 2) # infinite values
The new method of calculating kappa results in some infinite values, which should be close to 1 or in practical terms equal to 1, and not infinity. This will cause issues when making tiling plots, as scipy.interpolate.pchip cannot handle infinite values, e.g. https://github.com/astro-informatics/sleplet/blob/f61b2af612d0c6a3a462770dbdffb8ba463a3a40/examples/arbitrary/south_america/tiling_south_america.py#L16-L46
kappa
1
scipy.interpolate.pchip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider the following
The new method of calculating
kappa
results in some infinite values, which should be close to1
or in practical terms equal to1
, and not infinity. This will cause issues when making tiling plots, asscipy.interpolate.pchip
cannot handle infinite values, e.g. https://github.com/astro-informatics/sleplet/blob/f61b2af612d0c6a3a462770dbdffb8ba463a3a40/examples/arbitrary/south_america/tiling_south_america.py#L16-L46The text was updated successfully, but these errors were encountered: