msmbuilder / msmbuilder-legacy

Legacy release of MSMBuilder
http://msmbuilder.org
GNU General Public License v2.0
25 stars 28 forks source link

Analytical Test Cases for Unit Tests #243

Open kyleabeauchamp opened 11 years ago

kyleabeauchamp commented 11 years ago

I think we should include simple models where things like TPT, PCCA, MFPT, and eigenvalues can be calculated analytically. We would then use those as unit tests.

kyleabeauchamp commented 11 years ago

PS think they would look something like this:

class SymmetricModel(object):
    def get_MFPT(self):
        pass
    def get_flux(self, A, B):
        pass
    def get_eigensystem(self):
        pass
kyleabeauchamp commented 11 years ago

Here's my vote In terms of organization: we would create a separate directory test_systems that sits inside the msmbuilder source directory. In test_systems, we would have something like symmetric_model.py.

kyleabeauchamp commented 11 years ago

We should also brainstorm for other models with analytical results. I think the obvious ones are:

  1. Symmetric Hub
  2. Linear model

I think a reasonable number of the calculations have been worked out in TJ's papers, as well. I also have various latex files with various analytical calculations that we can use.