tommyod/KDEpy

SPherical KDE

Open

#158 opened on Nov 14, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Jupyter Notebook (104 forks)auto 404
help wanted

Repository metrics

Stars
 (647 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi, Thank you for this very useful package. I'm wondering if it's possible to estimate the kde on a unit sphere data, i.e. the custom grid is defined by the following:

def create_grid(B=16) : Theta = np.linspace(0, 360, 2B + 1) * np.pi / 180 Phi = np.linspace(0, 180, 2B + 1) * np.pi / 180 [T,P] = np.meshgrid(Theta,Phi)

    return T,P

Contributor guide