Commit 1787e73d authored by Miroslav Shaltev's avatar Miroslav Shaltev
Browse files

fix SFT loading for BNS searchesy

parent 9edb98c6
......@@ -1056,8 +1056,14 @@ void FStatNomad::SetUpSFTs( LALStatus *status, /**< pointer to LALStatus struc
if (in->nStacks == 1) {
freqmax = freqHi;
freqmin = freqLo;
freqmax *= 1.0 + in->dopplerMax;
freqmin *= 1.0 - in->dopplerMax;
if (BinarySearch()){
freqmax *= 1.0 + doppWings;
freqmin *= 1.0 - doppWings;
}
else {
freqmax *= 1.0 + in->dopplerMax;
freqmin *= 1.0 - in->dopplerMax;
}
}
else {
freqmin = freqLo - doppWings - extraBins * deltaFsft - in->extraBinsFstat * in->dFreqStack;
......
Supports Markdown
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