pycbc
pycbc copied to clipboard
`--psd-file` vs `--asd-file` is a dangerous trap
I have heard multiple reports of people confusing --psd-file and --asd-file and producing incorrect results as a consequence. Are there ideas on how to avoid this? The first thing I can think of is a check for the values in the file, which should be fairly robust for realistic detectors. But I am not sure what should happen then, should the code just print a warning? Or fail and require a --i-am-sure-just-do-what-i-said option?