mailr7132 - /branches/rdc_analysis/generic_fns/temperature.py


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

Header


Content

Posted by edward on August 11, 2008 - 11:58:
Author: bugman
Date: Mon Aug 11 11:49:53 2008
New Revision: 7132

URL: http://svn.gna.org/viewcvs/relax?rev=7132&view=rev
Log:
Added a stub function generic_fns.temperature.set() to fix the missing import 
problem.


Added:
    branches/rdc_analysis/generic_fns/temperature.py

Added: branches/rdc_analysis/generic_fns/temperature.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/generic_fns/temperature.py?rev=7132&view=auto
==============================================================================
--- branches/rdc_analysis/generic_fns/temperature.py (added)
+++ branches/rdc_analysis/generic_fns/temperature.py Mon Aug 11 11:49:53 2008
@@ -1,0 +1,38 @@
+###############################################################################
+#                                                                            
 #
+# Copyright (C) 2008 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 setting the experimental temperature."""
+
+# relax module imports.
+from data import Relax_data_store; ds = Relax_data_store()
+
+
+def set(id=None, temp=None):
+    """Set the experimental temperature.
+
+    @keyword id:    The experimental identification string (allowing for 
multiple experiments per
+                    data pipe).
+    @type id:       str
+    @keyword temp:  The temperature in kelvin.
+    @type temp:     float
+    """




Related Messages


Powered by MHonArc, Updated Mon Aug 11 12:00:45 2008