Wavelet window is always centered around the center of the segment.
During those fringe cases where we have an asymmetric analysis segment length where the trigger time is not at the center of the segment, we want the window to be placed around the trigger time and not the center of the analysis segment. https://git.ligo.org/lscsoft/bayeswave/-/blob/master/src/BayesWaveModel.c#L596
Example case where the trigger time is at the t=6
instead of t=4
.
Assigning to myself for now but I'll need to see if there's any downstream effects of this. If others know if this is a quick fix, please do comment so that I don't end up spending too much time code hiking.
Edited by Sudarshan Ghonge