Skip to content
Snippets Groups Projects
Commit a97ba950 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Bug 1000: Hopefully THE bug in tracking with the HBA tiles.

parent 9cf6558b
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,10 @@ double SpectralWindow::getSubbandFreq(int subband) const
ASSERT(m_numsubbands);
ASSERT(subband >= 0 && subband <= m_numsubbands);
return (subband % m_numsubbands) * getSubbandWidth();
bool is160 = ::fabs(160e6 - m_sampling_freq) < 1e-4;
float freqOffset = (is160 ? 80.0e6 : 100.0e6) * (m_nyquist_zone - 1);
return (freqOffset + ((subband % m_numsubbands) * getSubbandWidth()));
}
bool SpectralWindow::isSuitable(int subband) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment