Author: bugman Date: Wed Jan 16 10:11:44 2008 New Revision: 4773 URL: http://svn.gna.org/viewcvs/relax?rev=4773&view=rev Log: Added the red_bc and red_bc_vector structures to N_state_opt. These store the back-calculated tensors in matrix and vector forms. Modified: branches/N_state_model/maths_fns/n_state_model.py Modified: branches/N_state_model/maths_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/maths_fns/n_state_model.py?rev=4773&r1=4772&r2=4773&view=diff ============================================================================== --- branches/N_state_model/maths_fns/n_state_model.py (original) +++ branches/N_state_model/maths_fns/n_state_model.py Wed Jan 16 10:11:44 2008 @@ -61,9 +61,15 @@ self.red_data = red_data self.red_errors = red_errors - # Initialise some empty numpy objects for storage of the transient rotation matricies and their transposes. + # Initialise some empty numpy objects for storage of: + # R: the transient rotation matricies. + # RT: the transposes of the rotation matricies. + # red_bc: the back-calculated reduced alignment tensors. + # red_bc_vector: the back-calculated reduced alignment tensors in vector form {Sxx, Syy, Sxy, Sxz, Syz}. self.R = zeros((N,3,3), float64) self.RT = zeros((N,3,3), float64) + self.red_bc = zeros((N,3,3), float64) + self.red_bc_vector = zeros(N*5, float64) def func(self, params):