Skip to content

Optimised imports to speed up module loading

This PR restructures some module-level imports in an attempt to speed up loading modules.

Fixes #1118 (closed) (sort of) - any remaining slow loading is unfortunately a consequence of heavy dependency on numpy, scipy, astropy, and matplotlib, each of which are a bit slow to load resulting in an overall large overhead for gwpy.

Merge request reports