Author: bugman Date: Tue Aug 20 23:15:39 2013 New Revision: 20654 URL: http://svn.gna.org/viewcvs/relax?rev=20654&view=rev Log: Added support for the TSMFK01 model to the relax_disp.select_model user function back end. Progress sr #3071: https://gna.org/support/index.php?3071 - Implementation of Tollinger/Kay dispersion model (2001) Following the guide at: http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax Troels E. Linnet provided this patch. Commit by: tlinnet _aaattt_ gmail_dot_com Signed-off-by: Edward d'Auvergne <edward@xxxxxxxxxxxxx> Modified: branches/relax_disp/specific_analyses/relax_disp/api.py Modified: branches/relax_disp/specific_analyses/relax_disp/api.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/api.py?rev=20654&r1=20653&r2=20654&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/api.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/api.py Tue Aug 20 23:15:39 2013 @@ -649,6 +649,14 @@ for frq in loop_frq(): params.append('r2') + # TSMFK01 model. + elif model == MODEL_TSMFK01: + print("The Tollinger, Kay et al. (2001) 2-site very-slow exchange model, range of microsecond to second time scale.") + params = [] + for frq in loop_frq(): + params.append('r2a') + params += ['dw', 'kA'] + # LM63 model. elif model == MODEL_LM63: print("The Luz and Meiboom (1963) 2-site fast exchange model.")