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
This is caused by unexpected behaviour in numpy when indexing with an empty list. Thought it would return an empty array (no elements). However, if indexing occurs with an empty list, the returned numpy array contains all the elements.
nss350
changed the title
Viewing statistics with a mask will show all the values if the mask removes all the windows
Viewing statistics with a mask will show all the values if the mask removes all the windows. Resistics 0.0.6.rc1
Jan 26, 2020
nss350
changed the title
Viewing statistics with a mask will show all the values if the mask removes all the windows. Resistics 0.0.6.rc1
Viewing statistics with a mask will show all the values if the mask removes all the windows. Resistics 0.0.6rc1
Jan 26, 2020
Apologies, previous comment is all wrong. This is nothing to do with numpy. This is caused by poor coding and using bools and lists for checking without noting that checking the Truth of an empty list returns False.
This should be fixed in commit 33cc327. However, more changes will be coming to statistics, masking and regression in the coming weeks after the release of 0.0.6
If my mask removes all the windows from a measurement, viewing the statistics for the measurement will show all the values rather than an empty plot.
The text was updated successfully, but these errors were encountered: