pygsp icon indicating copy to clipboard operation
pygsp copied to clipboard

New sphere graph

Open Droxef opened this issue 4 years ago • 2 comments

Droxef avatar Jul 09 '19 09:07 Droxef

@mdeff I am not sure, we should have healpy as a dependency. It is a big package that takes time to install and we only use it for one function. What do you think?

nperraud avatar Jul 16 '19 06:07 nperraud

Absolutely. It should be lazily imported (as matplotlib, pyqtgraph, flann, etc.). That is, it's only imported when the user calls the SphereHealpix constructor, not when the pygsp is imported. The only hard dependencies are numpy and scipy. @Droxef did it correctly.

mdeff avatar Jul 16 '19 09:07 mdeff