Author: bugman Date: Wed Nov 17 16:48:20 2010 New Revision: 11669 URL: http://svn.gna.org/viewcvs/relax?rev=11669&view=rev Log: Dpar_unit is no longer passed into calc_rotation() for spheroidal diffusion, as it is not needed. Modified: 1.3/data/diff_tensor.py Modified: 1.3/data/diff_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/diff_tensor.py?rev=11669&r1=11668&r2=11669&view=diff ============================================================================== --- 1.3/data/diff_tensor.py (original) +++ 1.3/data/diff_tensor.py Wed Nov 17 16:48:20 2010 @@ -327,8 +327,6 @@ @type theta: float @param phi: The polar angle in radians. @type phi: float - @param Dpar_unit: The Dpar unit vector. - @type Dpar_unit: numpy array @param Dx_unit: The Dx unit vector. @type Dx_unit: numpy array @param Dy_unit: The Dy unit vector. @@ -346,7 +344,7 @@ # The rotation matrix for the spheroid. elif diff_type == 'spheroid': # Unpack the arguments. - spheroid_type, theta, phi, Dpar_unit = args + spheroid_type, theta, phi = args # Initialise the rotation matrix. R = zeros((3, 3), float64) @@ -535,7 +533,7 @@ yield ('Dratio', ['tm', 'Da'], ['Dpar', 'Dper']) yield ('Dpar_unit', ['theta', 'phi'], ['theta', 'phi']) yield ('tensor_diag', ['tm', 'Da'], ['type', 'Dpar', 'Dper']) - yield ('rotation', ['theta', 'phi'], ['type', 'spheroid_type', 'theta', 'phi', 'Dpar_unit']) + yield ('rotation', ['theta', 'phi'], ['type', 'spheroid_type', 'theta', 'phi']) yield ('tensor', ['tm', 'Da', 'theta', 'phi'], ['rotation', 'tensor_diag']) # Ellipsoidal diffusion.