mailr27547 - /trunk/user_functions/statistics.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 05, 2015 - 15:26:
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)




Related Messages


Powered by MHonArc, Updated Thu Feb 05 16:00:02 2015