You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When providing the argument sigma > 0 to pole_density_function we currently convolve a gaussian to the distribution histogram. Internally pole_density_function uses an equal area sampling grid on S2 to ensure constant bin areas, however this means that the bin spacing along the latitudinal direction is not consistent and a fixed size gaussian kernel is not 100% appropriate.
An alternative would be to sample the histogram initially on an equal angle (uv) grid, apply the gaussian filter on the equal angle grid, and resample this grid to the equal area grid for quantitative analysis. This is possible but leads to aliasing in the final distribution.
Another alternative would be compute a functional representation of the distribution and apply the blurring in the frequency domain before resampling, this may also help with the pole distortion raised in #441.
The text was updated successfully, but these errors were encountered:
An alternative would be to sample the histogram initially on an equal angle (uv) grid, apply the gaussian filter on the equal angle grid, and resample this grid to the equal area grid for quantitative analysis. This is possible but leads to aliasing in the final distribution.
@harripj It's just a rough draft, but I wrote some example code that does this in a recent orix issue #532 . specifically, look at the third plot in the second image.
It still needs work before I make a real Pull Request, but if you see problems or have suggestions, feel free to leave a comment.
When providing the argument
sigma > 0
topole_density_function
we currently convolve a gaussian to the distribution histogram. Internallypole_density_function
uses an equal area sampling grid on S2 to ensure constant bin areas, however this means that the bin spacing along the latitudinal direction is not consistent and a fixed size gaussian kernel is not 100% appropriate.An alternative would be to sample the histogram initially on an equal angle (uv) grid, apply the gaussian filter on the equal angle grid, and resample this grid to the equal area grid for quantitative analysis. This is possible but leads to aliasing in the final distribution.
Another alternative would be compute a functional representation of the distribution and apply the blurring in the frequency domain before resampling, this may also help with the pole distortion raised in #441.
The text was updated successfully, but these errors were encountered: