Skip to content

[RTADPA BW Tests] Read input_rate as a float.

Luke Grazette requested to merge lugrazet-BW-inputrate-type-bugfix into master

cc @rjhunter.

We read in input_rate as an int() in kHz. This is fine when reading in O(MHz) but for Sprucing where the input rate can be 10s of kHz, this is an unnecessary loss of accuracy.

Reported by @mengzhen: https://mattermost.web.cern.ch/lhcb/pl/cx8ts8i1fjrgmm5fkwjk99zaur

ToDo:

  • Test locally. (Overkill but deadtime on these tests should be avoided whenever possible 😄)
    • Doesn't break as expected 😄.
Edited by Luke Grazette

Merge request reports