Fix bugs in lal python code
Description
This MR fixes a few bugs identified by flake8, mostly unused imports, and one potential NameError
.
API Changes and Justification
Backwards Compatible Changes
-
This change introduces no API changes -
This change adds new API calls
Backwards Incompatible Changes
-
This change modifies an existing API -
This change removes an existing API
If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.
Review Status
@matthew-pitkin should review the change to lal.antenna
.