Commit cabc3353 authored by John Whelan's avatar John Whelan
Browse files

PulsarCrossCorr_v2: switched associated time to midpoint of SFT

Original: 0715f4f68170e4868ba82866f9cb62319a52fdcd
parent 27bd5eaa
......@@ -267,7 +267,8 @@ int main(int argc, char *argv[]){
}
/* Find the detector state for each SFT */
if ((multiStates = XLALGetMultiDetectorStates ( multiTimes, &multiDetectors, config.edat, 0.0 )) == NULL){
/* Offset by Tsft/2 to get midpoint as timestamp */
if ((multiStates = XLALGetMultiDetectorStates ( multiTimes, &multiDetectors, config.edat, 0.5 * Tsft )) == NULL){
LogPrintf ( LOG_CRITICAL, "%s: XLALGetMultiDetectorStates() failed with errno=%d\n", __func__, xlalErrno );
XLAL_ERROR( XLAL_EFUNC );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment