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

Implement and test Bursts.recompute_* methods #36

Closed tritemio closed 8 years ago

tritemio commented 8 years ago

The three methods:

were not well tested. The latter one (Bursts.recompute_index_reduce) had only a stub implementation which was wrong.

This PR add tests for these 3 methods, complete the implementation of Bursts.recompute_index_reduce and fixes a bug in Bursts.recompute_times (found through unit tests) which was affecting the burst search when compact=True (the default is False) was used. Additionally there are some cleanups and docstring improvements.