tritemio / FRETBursts

Burst analysis software for smFRET. **Moved to OpenSMFS organization**
https://github.com/OpenSMFS/FRETBursts
GNU General Public License v2.0
16 stars 17 forks source link

hist2d_alex bug with selected bursts #45

Closed tritemio closed 8 years ago

tritemio commented 8 years ago

Scenario: hist2d_alex is used on a Data variable d, then a new variable ds is created by selecting bursts in d.

Problem: when using hist2d_alex on ds, the histogram for d is shown instead if the same binwidth of the first plot is used.

Why: the ES_binwidth attribute is not reset on burst selection. ES_binwidth is then used to check whether the ES histogram needs to be recomputed.