Author: bugman
Date: Thu Feb  5 15:26:04 2015
New Revision: 27547

URL: http://svn.gna.org/viewcvs/relax?rev=27547&view=rev
Log:
Created the frontend for the statistics.model user function.


Modified:
    trunk/user_functions/statistics.py

Modified: trunk/user_functions/statistics.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/statistics.py?rev=27547&r1=27546&r2=27547&view=diff
==============================================================================
--- trunk/user_functions/statistics.py  (original)
+++ trunk/user_functions/statistics.py  Thu Feb  5 15:26:04 2015
@@ -24,6 +24,7 @@
 
 # relax module imports.
 from user_functions.data import Uf_info; uf_info = Uf_info()
+from user_functions.objects import Desc_container
 
 
 # The user function class.
@@ -33,4 +34,15 @@
 uf_class.gui_icon = "oxygen.actions.office-chart-pie"
 
 
-
+# The statistics.model user function.
+uf = uf_info.add_uf('statistics.model')
+uf.title = "Calculate and store the model statistics."
+uf.title_short = "Model statistics."
+# Description.
+uf.desc.append(Desc_container())
+uf.desc[-1].add_paragraph("This will perform a back-calculation to obtain the 
chi-squared statistic for the current parameter values, count the number of 
parameters and data points per model, and place all the values in the relax 
data store.")
+uf.backend = ()
+uf.menu_text = "&model"
+uf.gui_icon = "oxygen.categories.applications-education"
+uf.wizard_apply_button = False
+uf.wizard_size = (700, 400)


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to