mailr9495 - in /1.3/specific_fns: setup.py srls.py


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

Header


Content

Posted by edward on September 10, 2009 - 17:20:
Author: bugman
Date: Thu Sep 10 17:20:21 2009
New Revision: 9495

URL: http://svn.gna.org/viewcvs/relax?rev=9495&view=rev
Log:
Added a very basic, and completely empty module and class for SRLS analysis.

This is to allow the data pipe to be created.


Added:
    1.3/specific_fns/srls.py
Modified:
    1.3/specific_fns/setup.py

Modified: 1.3/specific_fns/setup.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/setup.py?rev=9495&r1=9494&r2=9495&view=diff
==============================================================================
--- 1.3/specific_fns/setup.py (original)
+++ 1.3/specific_fns/setup.py Thu Sep 10 17:20:21 2009
@@ -29,6 +29,7 @@
 from specific_fns.n_state_model import N_state_model
 from specific_fns.noe import Noe
 from specific_fns.relax_fit import Relax_fit
+from specific_fns.srls import SRLS
 from relax_errors import RelaxError, RelaxFuncSetupError
 
 
@@ -41,6 +42,7 @@
 n_state_model_obj = N_state_model()
 noe_obj = Noe()
 relax_fit_obj = Relax_fit()
+srls_obj = SRLS()
 
 
 # The function for returning the requested specific function.
@@ -287,6 +289,10 @@
     if function_type == 'hybrid':
         return hybrid_obj
 
+    # SRLS.
+    if function_type == 'srls':
+        return srls_obj
+
     # Unknown analysis.
     raise RelaxError("The function_type " + repr(function_type) + " is 
unknown.")
 
@@ -326,5 +332,9 @@
     if function_type == 'hybrid':
         return "hybrid models"
 
+    # SRLS
+    if function_type == 'srls':
+        return "SRLS analysis"
+
     # Unknown analysis.
     raise RelaxError("The function_type " + repr(function_type) + " is 
unknown.")

Added: 1.3/specific_fns/srls.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/srls.py?rev=9495&view=auto
==============================================================================
--- 1.3/specific_fns/srls.py (added)
+++ 1.3/specific_fns/srls.py Thu Sep 10 17:20:21 2009
@@ -1,0 +1,33 @@
+###############################################################################
+#                                                                            
 #
+# Copyright (C) 2009 Edward d'Auvergne                                       
 #
+#                                                                            
 #
+# This file is part of the program relax.                                    
 #
+#                                                                            
 #
+# relax is free software; you can redistribute it and/or modify              
 #
+# it under the terms of the GNU General Public License as published by       
 #
+# the Free Software Foundation; either version 2 of the License, or          
 #
+# (at your option) any later version.                                        
 #
+#                                                                            
 #
+# relax is distributed in the hope that it will be useful,                   
 #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of             
 #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              
 #
+# GNU General Public License for more details.                               
 #
+#                                                                            
 #
+# You should have received a copy of the GNU General Public License          
 #
+# along with relax; if not, write to the Free Software                       
 #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 #
+#                                                                            
 #
+###############################################################################
+
+# Module docstring.
+"""Module for the SRLS analysis of relaxation data."""
+
+
+# relax module imports.
+from base_class import Common_functions
+
+
+class SRLS(Common_functions):
+    """Class containing functions specific to the SRLS analysis."""
+




Related Messages


Powered by MHonArc, Updated Thu Sep 10 17:40:02 2009