mailr19257 - /branches/relax_disp/specific_analyses/relax_disp.py


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

Header


Content

Posted by edward on March 27, 2013 - 16:03:
Author: bugman
Date: Wed Mar 27 16:03:09 2013
New Revision: 19257

URL: http://svn.gna.org/viewcvs/relax?rev=19257&view=rev
Log:
Made the non-API methods of the specific_analyses.relax_disp.Relax_disp class 
private.


Modified:
    branches/relax_disp/specific_analyses/relax_disp.py

Modified: branches/relax_disp/specific_analyses/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp.py?rev=19257&r1=19256&r2=19257&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp.py (original)
+++ branches/relax_disp/specific_analyses/relax_disp.py Wed Mar 27 16:03:09 
2013
@@ -241,7 +241,7 @@
         return results[result_index]
 
 
-    def calc_r2eff(self, exp_type='cpmg', id=None, delayT=None, 
int_cpmg=1.0, int_ref=1.0):
+    def _calc_r2eff(self, exp_type='cpmg', id=None, delayT=None, 
int_cpmg=1.0, int_ref=1.0):
         """Calculate the effective transversal relaxation rate from the peak 
intensities. The
         equation depends on the experiment type chosen, either 'cpmg' or 
'r1rho'.
 
@@ -274,7 +274,7 @@
             return r2eff
 
 
-    def cpmg_delayT(self, id=None, delayT=None):
+    def _cpmg_delayT(self, id=None, delayT=None):
         """Set the CPMG constant time delay (T) of the experiment.
 
         @keyword id:       The experimental identification string (allowing 
for multiple experiments
@@ -316,7 +316,7 @@
         print "The CPMG delay T for experiment " + `id` + " has been set to 
" + `cdp.delayT[id]`  + " s."
 
 
-    def cpmg_frq(self, cpmg_frq=None, spectrum_id=None):
+    def _cpmg_frq(self, cpmg_frq=None, spectrum_id=None):
         """Set the CPMG frequency associated with a given spectrum.
 
         @keyword cpmg_frq:      The frequency, in Hz, of the CPMG pulse 
train.
@@ -610,7 +610,7 @@
             spin.dw = param_vector[5]
 
 
-    def exp_type(self, exp_type='cpmg'):
+    def _exp_type(self, exp_type='cpmg'):
         """Function for selecting the relaxation dispersion experiment type 
performed.
         @keyword exp: The relaxation dispersion experiment type.  Can be one 
of 'cpmg' or 'r1rho'.
         @type exp:    str
@@ -1251,7 +1251,7 @@
         return None
 
 
-    def select_model(self, model='fast'):
+    def _select_model(self, model='fast'):
         """Function for selecting the model of the relaxation dispersion 
curve.
 
         @keyword model: The relaxation dispersion time scale for curve 
fitting.  Can be one of




Related Messages


Powered by MHonArc, Updated Wed Mar 27 16:20:02 2013