You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and this is actually updating the value of the gain either at time slice i (which is what we want) and at time slice i-1 (which we don't). As a result, at the end of the loop, the gain is off by one everywhere but in the very last bin.
Luckily, all we have to do is to replace the incriminated line with:
The following line in instrument/charging.py:
introduces a subtle bug, as we later update the value of g in place before assigning it to the next time slice:
and this is actually updating the value of the gain either at time slice i (which is what we want) and at time slice i-1 (which we don't). As a result, at the end of the loop, the gain is off by one everywhere but in the very last bin.
Luckily, all we have to do is to replace the incriminated line with:
and we are good.
Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/404
Created on 2021-04-07T11:06:57.360903+00:00
The text was updated successfully, but these errors were encountered: