Menu

SVN archive Commit Log


Commit Date  
[r22718] by bugman

Added the ability to automatically create the parameter tables for the user function documentation.

These are the tables used in many of the user function docstrings. This has been added to the
parameter list base class. The section title is pre-specified by the new _set_uf_title() method,
and the table caption and LaTeX label by the _set_uf_table() method. The documentation is generated
by calling the uf_doc() method. This uses the new type_string() method to add a compact parameter
type string representation to the table.

The aim is to eliminate all of the hard-coded tables in the specific analyses which are always very
quickly out of date. By automatically creating the tables, this simplifies the codebase and
simplifies the addition of new analysis types.

2014-04-11 16:08:28 Tree
[r22717] by bugman

Clean up and fixes for the parameter definitions in the consistency testing analysis.

The fixed and calculated parameters are now defined in the correct sets, and the description for tc
has been expanded and improved.

2014-04-11 15:59:39 Tree
[r22716] by bugman

Changed the values of the set argument for the parameter list object.

The 'generic' value has been renamed to 'fixed' and is now for all permanently fixed parameters of
the model - for example the CSA value in a number of analyses. The default set argument value of
the _add() method has been changed to 'all' so that any parameters registered via that method are
not placed in a special set (unless specified otherwise).

2014-04-11 15:43:26 Tree
[r22715] by bugman

Removed a now useless unit test (it should have been deleted in r22714).

2014-04-11 10:26:56 Tree
[r22714] by bugman

Eliminated a lot of unused code from the pipe_control.align_tensor module.

This includes the functions data_names(), default_value(), map_bounds(), map_labels(),
return_conversion_factor(), return_data_name() and return_units() as well as the unused and very old
user function documentation __default_value_prompt_doc__, __return_data_name_prompt_doc__ and
__set_prompt_doc__. These are all remnants from the origin of the module - the copying of the
diffusion_tensor module. But they have never been used.

2014-04-11 09:58:46 Tree
[r22713] by bugman

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.

2014-04-11 09:44:10 Tree
[r22712] by bugman

Eliminated the return_data_name() concept from the specific analysis API.

The parameter names can now only have one value, i.e. 's2' is different from 'S2'. In addition, a
number of related functions have been deleted form the pipe_control.minimise module as these are now
handled by the parameter list object. The deleted functions are return_conversion_factor() and
return_value().

2014-04-11 08:35:18 Tree
[r22711] by bugman

Simplified the pipe_control.minimise.minimise() function.

The specific API object only needs to be fetched once.

2014-04-11 07:57:14 Tree
[r22710] by bugman

Shifted the minimisation Grace strings and units into the parameter list object.

The return_grace_string() and return_units() functions of the pipe_control.minimise module have been
deleted and their contents shifted into the specific analysis parameter list object.

2014-04-11 07:51:09 Tree
[r22709] by bugman

Added the Morin et al., 2014 relaxation dispersion analysis in relax citation to the website.

The paper is referenced on the pages http://www.nmr-relax.com/features.html and
http://www.nmr-relax.com/analyses/relaxation_dispersion.html, and the citation itself on the page
http://www.nmr-relax.com/refs.html.

2014-04-11 06:41:47 Tree
Older >
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.