Menu

Commit [r22713]  Maximize  Restore  History

Shifted the Brownian rotational diffusion tensor parameters into the parameter list object.

This only affects the model-free analysis. The pipe_control.diffusion_tensor module functions
default_value(), return_conversion_factor(), return_data_name() and return_units() have been
eliminated. These functions have been merged together with the diffusion parameter self._add()
calls in the model-free specific parameter list into the new parameter list base class
_add_diffusion_params() method.

To allow the model-free analysis code to differentiate between diffusion and model-free parameters,
the new scope() parameter list base class method has been created. Diffusion parameters return
'global' whereas model-free parameters return 'spin'.

The model-free specific API methods default_value() and is_spin_param() have been deleted as these
are now provided fully by the parameter list object. The is_spin_param() method has been newly
implemented in the parameter list object to check the parameter scope.

bugman 2014-04-11

changed /trunk/pipe_control/diffusion_tensor.py
changed /trunk/pipe_control/opendx.py
changed /trunk/specific_analyses/api_base.py
changed /trunk/specific_analyses/model_free/api.py
changed /trunk/specific_analyses/model_free/parameter_object.py
changed /trunk/specific_analyses/parameter_object.py
changed /trunk/test_suite/unit_tests/_pipe_control/test_diffusion_tensor.py
/trunk/pipe_control/diffusion_tensor.py Diff Switch to side-by-side view
Loading...
/trunk/pipe_control/opendx.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/api_base.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/model_free/api.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/model_free/parameter_object.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/parameter_object.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/unit_tests/_pipe_control/test_diffusion_tensor.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.