New Features
---------------
- `matplotlib` based interactive viewer is working! Call `view_in_qt()` function and GUI will be launched. Same function is available in `sfHMM1`, `sfHMMn` and motor versions.
python
sf.run_all(False)
sf.view_in_qt()
Improvements
----------------
- HMM optimization algorithms are executed with normalized data. Now sfHMM is fully scalable (I've tested in the range of 10^-6 - 10^6 and there were no difference between scales).
- Read/write functions in `sfHMM.io` are moved to member functions. Just make an instance and call `read`:
python
sf = sfHMM1(psf=0.002, sg0=13, krange=(2, 7))
sf.read("path/to/somewhere")
- Path to the source file is tagged to `sfHMM` object in attribute `source` if it is read by function `read`. Therefore you don't have to write down the path to the source directory again in `save` function. Results will be saved in the same directory as name "XXX-sfHMMresult" by default.
python
sf = sfHMM().read("path/to/somewhere")
sf.run_all()
sf.save() that's it!