Import statements in try except blocks
Can we please not put the import lal' and
import lalsimulation' statements in try-except blocks?
Either the code runs completely without these import statements, in which case they should completely omitted, or we should assume that the user can pip install lal.
If we really want to minimise the usage of lal related packages and allow users to use as many functions as possible without having installed lal, then we should move the import statements just into the functions that use these statements.