Currently, the PSD routine used in dingo pipe is determined by Bilby's DataGeneration. However, occasionally for events in O3 (e.g. GW190517) there will be nans in the data stream. We would still like to analyze these events, so we roll back the PSD segment until it does not contain nans. This is done in dingo.gw.data.data_download.download_psd. This PR adds a flag "--shift-segment-for-psd-generation-if-nan" which if True will use the dingo routinte when Nans are detected in the PSD.
Currently, the PSD routine used in dingo pipe is determined by Bilby's DataGeneration. However, occasionally for events in O3 (e.g. GW190517) there will be nans in the data stream. We would still like to analyze these events, so we roll back the PSD segment until it does not contain nans. This is done in
dingo.gw.data.data_download.download_psd
. This PR adds a flag "--shift-segment-for-psd-generation-if-nan" which if True will use the dingo routinte when Nans are detected in the PSD.