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
The current code assumes equally sampled x-data (bin size is expressed in number of samples - assuming there are no gaps & sampling rate does not change)
To remove this assumption we should use something like np.searchsorted to determine the start- and end-indexes of the bins (this uses the x-data values to determine the bins).
I guess for empty bins, we should also perform some cleanup?
The text was updated successfully, but these errors were encountered:
The current code assumes equally sampled x-data (bin size is expressed in number of samples - assuming there are no gaps & sampling rate does not change)
To remove this assumption we should use something like
np.searchsorted
to determine the start- and end-indexes of the bins (this uses the x-data values to determine the bins).I guess for empty bins, we should also perform some cleanup?
The text was updated successfully, but these errors were encountered: