mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-11-12 17:43:33 +01:00
ZH: Finally found the bug
Phases would not change even if I set an enormous clock offset
This commit is contained in:
parent
7cfccd0011
commit
9310b8c663
1 changed files with 2 additions and 0 deletions
|
@ -87,12 +87,14 @@ if __name__ == "__main__":
|
|||
tmp_offset = h5ant_attrs['clock_offset']
|
||||
if remake_clock_offsets:
|
||||
h5ant['traces'][0, :] -= tmp_offset
|
||||
h5ant['E_AxB'][0, :] -= tmp_offset
|
||||
else:
|
||||
clock_offsets[i] = tmp_offset
|
||||
continue
|
||||
|
||||
h5ant_attrs['clock_offset'] = clk_offset
|
||||
h5ant['traces'][0, :] += clk_offset
|
||||
h5ant['E_AxB'][0, :] += clk_offset
|
||||
|
||||
# save to simple csv
|
||||
np.savetxt(clocks_fname, clock_offsets)
|
||||
|
|
Loading…
Reference in a new issue