gwastro / pycbc

Core package to analyze gravitational-wave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.
http://pycbc.org
GNU General Public License v3.0
307 stars 344 forks source link

Be efficient with imports #4783

Open GarethCabournDavies opened 1 month ago

GarethCabournDavies commented 1 month ago

Sometimes the whole package isnt needed, so we can use e.g. from pycbc import init_logging.

We should also check what is being imported when, I cant remember exactly where, but the other day I got an error to do with the neutron star equation of state when trying to import an argument parser group