python - Spherical harmonic transform with irregular grids on sphere surface -


let's suppose have number of data points on surface of sphere. these data points lie randomly scattered on sphere surface, i.e. aren't distributed on regular grid such gaussian grid.

my question is: there python library available allows me compute spherical harmonic transform of data set? otherwise, first have interpolate data points onto regular grid myself before applying standard spherical harmonic transform.

for non-uniform fourier transforms found several options, e.g. this one. however, non-uniform spherical harmonic transforms of course related fourier transforms found none far.

is way, first interpolate data points regular grid ? if yes, numpy/scipy has methods doing that. have in the manuals:

https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.interpolate.griddata.html

https://docs.scipy.org/doc/scipy-0.16.1/reference/generated/scipy.interpolate.regulargridinterpolator.html

and simple example explained here (method 2)


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -