Merged revisions 3907-3967 via svnmerge from
svn+ssh://bugman@.../svn/relax/1.3
........
r3907 | bugman | 2007-11-25 16:30:00 +0100 (Sun, 25 Nov 2007) | 3 lines
Implemented the params unit test for the diffusion_tensor.init() user function.
........
r3908 | bugman | 2007-11-25 16:37:17 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed some unused RelaxError imports.
........
r3909 | bugman | 2007-11-25 16:39:50 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed some unused RelaxError imports.
........
r3910 | bugman | 2007-11-25 16:43:45 +0100 (Sun, 25 Nov 2007) | 3 lines
Implemented all the arg unit tests for the diffusion_tensor.init() user function.
........
r3911 | bugman | 2007-11-25 16:45:03 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed the run argument from the diffusion_tensor.display() user function.
........
r3912 | bugman | 2007-11-25 16:54:50 +0100 (Sun, 25 Nov 2007) | 3 lines
Updated all the diffusion tensor user functions to the new relax design.
........
r3913 | bugman | 2007-11-25 16:57:12 +0100 (Sun, 25 Nov 2007) | 3 lines
Implemented all the arg unit tests for the diffusion_tensor.copy() user function.
........
r3914 | bugman | 2007-11-25 16:59:06 +0100 (Sun, 25 Nov 2007) | 5 lines
Bug fix for the diffusion_tensor.copy() user function.
The pipes can be None.
........
r3915 | bugman | 2007-11-25 17:05:46 +0100 (Sun, 25 Nov 2007) | 5 lines
Implemented the test of diffusion_tensor.copy(), that both arguments cannot be None.
A unit test for this has also been added.
........
r3916 | bugman | 2007-11-25 17:11:49 +0100 (Sun, 25 Nov 2007) | 3 lines
Added a number of tuples of floats of different sizes for the user function argument unit tests.
........
r3917 | bugman | 2007-11-25 17:32:34 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixed the params arg unit test for the diffusion_tensor.init() user function.
........
r3918 | bugman | 2007-11-25 17:37:00 +0100 (Sun, 25 Nov 2007) | 3 lines
Another fix for the params arg unit test for the diffusion_tensor.init() user function.
........
r3919 | bugman | 2007-11-25 17:38:22 +0100 (Sun, 25 Nov 2007) | 3 lines
Added the import of the generic_fns.diffusion_tensor module.
........
r3920 | bugman | 2007-11-25 17:50:26 +0100 (Sun, 25 Nov 2007) | 5 lines
Wrote two unit tests for the diffusion tensor initialisation.
One is for bad angular units, the other is for setting a spherical tensor.
........
r3921 | bugman | 2007-11-25 17:58:11 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed the placement of the Diffusion_tensor class instance into generic_fns.
........
r3922 | bugman | 2007-11-25 18:02:00 +0100 (Sun, 25 Nov 2007) | 5 lines
Removed all of the generic_fns class instances from the relax namespace.
All these class methods will be converted to module functions.
........
r3923 | bugman | 2007-11-25 18:06:16 +0100 (Sun, 25 Nov 2007) | 5 lines
Shifted all the calc_* diffusion tensor functions from generic_fns to data.
This is to break a fatal circular import problem!!!
........
r3924 | bugman | 2007-11-25 18:07:39 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed an unused import of pi.
........
r3925 | bugman | 2007-11-25 18:15:16 +0100 (Sun, 25 Nov 2007) | 5 lines
Converted all the Diffusion_tensor methods into module functions.
The class no longer exists.
........
r3926 | bugman | 2007-11-25 18:18:20 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixed the prompt modules which were importing the Diffusion_tensor class.
........
r3927 | bugman | 2007-11-25 18:19:00 +0100 (Sun, 25 Nov 2007) | 3 lines
Updated the copyright notices.
........
r3928 | bugman | 2007-11-25 18:24:19 +0100 (Sun, 25 Nov 2007) | 3 lines
Converted the generic_fns.diffusion_tensor.init() function to the new relax design.
........
r3929 | bugman | 2007-11-25 18:25:00 +0100 (Sun, 25 Nov 2007) | 3 lines
Docstring fix.
........
r3930 | bugman | 2007-11-25 18:30:36 +0100 (Sun, 25 Nov 2007) | 3 lines
Bug fix for the generic_fns.diffusion_tensor.init() function.
........
r3931 | bugman | 2007-11-25 18:38:16 +0100 (Sun, 25 Nov 2007) | 3 lines
Added a unit test for the generic_fns.pipes.test() function.
........
r3932 | bugman | 2007-11-25 18:42:05 +0100 (Sun, 25 Nov 2007) | 3 lines
Added a unit test for the generic_fns.pipes.current() function.
........
r3933 | bugman | 2007-11-25 18:44:10 +0100 (Sun, 25 Nov 2007) | 5 lines
Bug fix for the generic_fns.pipes.current() function.
The function now returns the current pipe rather than printing it!
........
r3934 | bugman | 2007-11-25 18:51:13 +0100 (Sun, 25 Nov 2007) | 3 lines
Bug fix for the generic_fns.pipes.test() function.
........
r3935 | bugman | 2007-11-25 18:55:57 +0100 (Sun, 25 Nov 2007) | 3 lines
Bug fix for the RelaxTensorError class.
........
r3936 | bugman | 2007-11-25 19:05:37 +0100 (Sun, 25 Nov 2007) | 3 lines
Implemented the function generic_fns.diffusion_tensor.diff_data_exists().
........
r3937 | bugman | 2007-11-25 19:08:02 +0100 (Sun, 25 Nov 2007) | 3 lines
generic_fns.diffusion_tensor.init() now uses the new function for determining the existence of data.
........
r3938 | bugman | 2007-11-25 19:09:28 +0100 (Sun, 25 Nov 2007) | 3 lines
Renamed the pipe container object 'diff' to 'diff_tensor'.
........
r3939 | bugman | 2007-11-25 19:22:06 +0100 (Sun, 25 Nov 2007) | 5 lines
Updated the diffusion tensor data structure in the relax data store for the new relax design.
The object is no longer a dictionary type with keys set to the run names. It is simply a container.
........
r3940 | bugman | 2007-11-25 19:23:15 +0100 (Sun, 25 Nov 2007) | 3 lines
Bug fix for the generic_fns.diffusion_tensor.diff_data_exists() function.
........
r3941 | bugman | 2007-11-25 19:25:12 +0100 (Sun, 25 Nov 2007) | 5 lines
Another bug fix for the generic_fns.diffusion_tensor.diff_data_exists() function.
The white_list object now exists.
........
r3942 | bugman | 2007-11-25 19:28:46 +0100 (Sun, 25 Nov 2007) | 3 lines
Updated the save state file as the diffusion tensor object is now different.
........
r3943 | bugman | 2007-11-25 19:30:17 +0100 (Sun, 25 Nov 2007) | 5 lines
Bug fix for the generic_fns.diffusion_tensor.init() function.
The new data structure is taken into account.
........
r3944 | bugman | 2007-11-25 19:35:26 +0100 (Sun, 25 Nov 2007) | 3 lines
Updated all the functions to handle the new diff tensor data structure.
........
r3945 | bugman | 2007-11-25 19:42:30 +0100 (Sun, 25 Nov 2007) | 3 lines
Updated the generic_fns.diffusion_tensor.sphere() function.
........
r3946 | bugman | 2007-11-25 19:52:48 +0100 (Sun, 25 Nov 2007) | 3 lines
Converted the docstring of generic_fns.diffusion_tensor.init() to the epydoc format.
........
r3947 | bugman | 2007-11-25 19:55:07 +0100 (Sun, 25 Nov 2007) | 3 lines
Sent a number of variables into the sphere, spheroid, and ellipsoid functions.
........
r3948 | bugman | 2007-11-25 19:57:08 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed all the references to self in generic_fns.diffusion_tensor.set().
........
r3949 | bugman | 2007-11-25 19:58:33 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed all the references to self in generic_fns.diffusion_tensor.return_data_name().
........
r3950 | bugman | 2007-11-25 20:00:06 +0100 (Sun, 25 Nov 2007) | 5 lines
Bug fix for generic_fns.diffusion_tensor.set().
The current data pipe is now aliased.
........
r3951 | bugman | 2007-11-25 20:02:01 +0100 (Sun, 25 Nov 2007) | 5 lines
Bug fix for generic_fns.diffusion_tensor.test_params().
Removed self and added the cdp alias.
........
r3952 | bugman | 2007-11-25 20:04:10 +0100 (Sun, 25 Nov 2007) | 3 lines
Bug fixes for the unit test of setting up of a spherical diffusion tensor.
........
r3953 | bugman | 2007-11-25 20:08:07 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed all references to self from the generic_fns.diffusion_tensor module.
........
r3954 | bugman | 2007-11-25 20:14:15 +0100 (Sun, 25 Nov 2007) | 3 lines
Wrote a unit test for the setting up of a spheroidal diffusion tensor.
........
r3955 | bugman | 2007-11-25 20:22:13 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixes for generic_fns.diffusion_tensor.spheroid().
........
r3956 | bugman | 2007-11-25 20:26:46 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixes to generic_fns.diffusion_tensor.fold_angles().
........
r3957 | bugman | 2007-11-25 20:28:23 +0100 (Sun, 25 Nov 2007) | 3 lines
Converted all the methods of the Angles class into module functions.
........
r3958 | bugman | 2007-11-25 20:36:11 +0100 (Sun, 25 Nov 2007) | 3 lines
Removal of references to self and run, and an update to the new data storage object.
........
r3959 | bugman | 2007-11-25 20:37:39 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixed all calls to generic_fns.angles.wrap_angles().
........
r3960 | bugman | 2007-11-25 20:50:07 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixes to the unit test for the setting up of a spheroidal diffusion tensor.
........
r3961 | bugman | 2007-11-25 21:08:44 +0100 (Sun, 25 Nov 2007) | 3 lines
Wrote a unit test for the setting up of an ellipsoidal diffusion tensor.
........
r3962 | bugman | 2007-11-25 21:11:58 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixes to all of generic_fns.diffusion_tensor.ellipsoid().
........
r3963 | bugman | 2007-11-25 21:15:41 +0100 (Sun, 25 Nov 2007) | 3 lines
Fixed for the unit test for the setting up of a ellipsoid diffusion tensor.
........
r3964 | bugman | 2007-11-25 21:16:11 +0100 (Sun, 25 Nov 2007) | 3 lines
Removed some debugging code.
........
r3965 | bugman | 2007-11-25 21:17:53 +0100 (Sun, 25 Nov 2007) | 3 lines
Added 2 more checks to the spheroidal tensor unit test.
........
r3966 | bugman | 2007-11-25 21:19:15 +0100 (Sun, 25 Nov 2007) | 3 lines
Added one more check to the spherical tensor unit test.
........
r3967 | bugman | 2007-11-25 22:04:40 +0100 (Sun, 25 Nov 2007) | 5 lines
Fixed the initialisation of the diffusion tensor system tests.
The diffusion_tensor.init test now passes.
........