Refactor gstlal_inspiral_postcohspiir_online script
The current bin/gstlal_inspiral_postcohspiir_online script (and other scripts inside the bin/ folder) leave a lot to be desired in terms of readability and Python best practices.
On top of simply refactoring this script, I would also recommend the following changes:
-
Use the Click package instead of optparse/argparse -
Encapsulate run-time code underneath a if __name__ == "__main__":
statement.