mailr6209 - /1.3/generic_fns/monte_carlo.py


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

Header


Content

Posted by edward on May 21, 2008 - 22:59:
Author: bugman
Date: Wed May 21 22:59:21 2008
New Revision: 6209

URL: http://svn.gna.org/viewcvs/relax?rev=6209&view=rev
Log:
A few changes to tidy up the module.


Modified:
    1.3/generic_fns/monte_carlo.py

Modified: 1.3/generic_fns/monte_carlo.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/monte_carlo.py?rev=6209&r1=6208&r2=6209&view=diff
==============================================================================
--- 1.3/generic_fns/monte_carlo.py (original)
+++ 1.3/generic_fns/monte_carlo.py Wed May 21 22:59:21 2008
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2004-2005, 2007 Edward d'Auvergne                            
 #
+# Copyright (C) 2004-2005, 2007-2008 Edward d'Auvergne                       
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -19,6 +19,9 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 #
 #                                                                            
 #
 
###############################################################################
+
+# Module docstring.
+"""Module for performing Monte Carlo simulations for error analysis."""
 
 # Python module imports.
 from copy import deepcopy
@@ -31,16 +34,8 @@
 from relax_errors import RelaxError, RelaxNoPipeError, RelaxNoSequenceError
 
 
-# The relax data storage object.
-
-
-
 class Monte_carlo:
-    def __init__(self, relax):
-        """Class containing functions for Monte Carlo simulations."""
-
-        self.relax = relax
-
+    """Class containing functions for Monte Carlo simulations."""
 
     def create_data(self, run=None, method=None):
         """Function for creating simulation data.




Related Messages


Powered by MHonArc, Updated Wed May 21 23:20:12 2008