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
and simple example explained here (method 2)
Comments
Post a Comment