Menu

SVN archive Commit Log


Commit Date  
[r27154] by tlinnet

Merged revisions 27035-27040,27044,27052-27116,27119-27153 via svnmerge from
svn+ssh://tlinnet@.../svn/relax/trunk

........
r27035 | bugman | 2014-12-09 08:32:31 +0100 (Tue, 09 Dec 2014) | 9 lines

Added the norm_type argument to the grace.write user function.

This is in response to http://thread.gmane.org/gmane.science.nmr.relax.devel/7392/focus=7438.

This norm_type argument can either be 'first' or 'last' to allow different points of the plot to be
the normalisation factor. The default of 'first' preserves the old behaviour of first point
normalisation.
........
r27036 | bugman | 2014-12-09 08:36:47 +0100 (Tue, 09 Dec 2014) | 5 lines

The relax_fit_saturation_recovery.py system test script now sets the norm_type argument.

This is for testing out this new option for the grace.write user function.
........
r27037 | bugman | 2014-12-09 08:41:45 +0100 (Tue, 09 Dec 2014) | 6 lines

The new grace.write user function norm_type argument has been activated.

The argument is now passed from pipe_control.grace.write into the write_xy_data() function of the
lib.software.grace module, and is used to select which point to use for the normalisation.
........
r27038 | bugman | 2014-12-09 08:47:10 +0100 (Tue, 09 Dec 2014) | 7 lines

The relaxation exponential curve-fitting auto-analysis now sets the normalisation type.

This is for the new grace.write user function. If the model for all spins is set to 'sat', then the
norm_type will be set to 'last'. This allows for reasonable normalised curves for the saturation
recovery R1 experiment types.
........
r27039 | bugman | 2014-12-09 08:54:53 +0100 (Tue, 09 Dec 2014) | 7 lines

Change for norm_type variable in the relaxation exponential curve-fitting auto-analysis.

This is now set to 'last', not only for the saturation recovery, but now also for the inversion
recovery experiment types. This ensures that the normalisation point is the steady state
magnetisation peak intensity.
........
r27040 | bugman | 2014-12-09 09:04:20 +0100 (Tue, 09 Dec 2014) | 8 lines

Cleared the list of blacklisted objects for the cdp.exp_info data structure.

The data_store.exp_info.ExpInfo class blacklist variable had previously not been used. But after
recent changes, the list was now active. As all the contents of the container were blacklisted, the
container was being initialised as being empty when reading the XML formatted state or results
files. Therefore the blacklist is now set to an empty list.
........
r27044 | bugman | 2014-12-09 14:59:51 +0100 (Tue, 09 Dec 2014) | 12 lines

Improvements for all of the tables of the relaxation dispersion chapter of the manual.

The captions are now the full width (or height for rotated tables) of the page in the PDF version of
the manual. The \latex{} command from the latex2html package has been used to improve the HTML
versions of the tables by deactivating the landscape environment, the cmidrule command, and the
caption width commands. This results in properly HTML formatted tables, rather than creating a PNG
image for the whole table. These should significantly improve the tables in the webpages
http://www.nmr-relax.com/manual/Comparison_of_dispersion_analysis_software.html,
http://www.nmr-relax.com/manual/The_relaxation_dispersion_auto_analysis.html, and
http://www.nmr-relax.com/manual/Dispersion_model_summary.html.
........
r27052 | bugman | 2014-12-10 13:58:30 +0100 (Wed, 10 Dec 2014) | 7 lines

Created the Structure.test_align_molecules system test.

This will be used to extend the functionality of the structure.align user function to be able to
align different molecules in the same data pipe, rather than requiring either models or identically
named structures in different data pipes.
........
r27053 | bugman | 2014-12-10 14:05:33 +0100 (Wed, 10 Dec 2014) | 6 lines

Modified the Structure.test_align_molecules system test.

This now simultaneously checks both the pipes and molecules arguments to the structure.align user
function.
........
r27054 | bugman | 2014-12-10 14:11:11 +0100 (Wed, 10 Dec 2014) | 3 lines

More changes for the new Structure.test_align_molecules system test.
........
r27055 | bugman | 2014-12-10 14:12:18 +0100 (Wed, 10 Dec 2014) | 3 lines

Some more fixes for the Structure.test_align_molecules system test.
........
r27056 | bugman | 2014-12-10 15:53:34 +0100 (Wed, 10 Dec 2014) | 7 lines

Change to the Structure.test_align system test.

The molecules argument for the structure.align user function has been changed to match the models
argument, in that it now needs to be a list of lists with the first dimension matching the pipes
argument. This change is to help with the implementation of the new structure.align functionality.
........
r27057 | bugman | 2014-12-10 15:56:46 +0100 (Wed, 10 Dec 2014) | 9 lines

Implemented the new molecules argument for the structure.align user function.

In addition to accepting the new argument, the user function backend has been redesigned for
flexibility. The assembly of coordinates and final rotations and translations now consist of three
loops over desired data pipes, all models, and all molecules. If the models or molecules arguments
are supplied, then the models or molecules in the loop which do not match are skipped. This logic
simplifies and cleans up the backend.
........
r27058 | bugman | 2014-12-10 16:37:18 +0100 (Wed, 10 Dec 2014) | 6 lines

Created the Structure.test_rmsd_molecules system test.

This will be used to implement a new molecules argument for the structure.rmsd user function so that
the RMSD between different molecules rather than different models can be calculated.
........
r27059 | bugman | 2014-12-10 17:03:24 +0100 (Wed, 10 Dec 2014) | 6 lines

Implemented the new molecules argument for the structure.rmsd user function.

This allows the RMSD between different molecules rather than different models to be calculated,
extending the functionality of this user function.
........
r27060 | bugman | 2014-12-10 17:07:08 +0100 (Wed, 10 Dec 2014) | 3 lines

Removed some temporary printouts from the structure.align user function.
........
r27061 | bugman | 2014-12-10 17:20:19 +0100 (Wed, 10 Dec 2014) | 6 lines

Created the Structure.test_displacement_molecules system test.

This will be used to implement the new molecules argument for the structure.displacement user
function.
........
r27062 | bugman | 2014-12-10 17:34:55 +0100 (Wed, 10 Dec 2014) | 7 lines

Implemented the molecules argument for the structure.displacement user function.

This allows the displacements (translations and rotations) to be calculated between different
molecules rather than different models. This information is stored in the dictionaries of the
cdp.structure.displacement object with the keys set to the molecule list indices.
........
r27063 | bugman | 2014-12-10 18:53:48 +0100 (Wed, 10 Dec 2014) | 6 lines

Created the Structure.test_find_pivot system test.

This is to check the structure.find_pivot user function as this algorithm is currently not being
checked in the test suite.
........
r27064 | bugman | 2014-12-10 18:57:14 +0100 (Wed, 10 Dec 2014) | 6 lines

Created the Structure.test_find_pivot_molecules system test.

This will be used to implement support for a molecules argument in the structure.find_pivot user
function so that different molecules rather than different models can be used in the analysis.
........
r27065 | bugman | 2014-12-11 08:37:45 +0100 (Thu, 11 Dec 2014) | 3 lines

Increased the precision of pivot optimisation in the Structure.test_find_pivot_molecules system test.
........
r27066 | bugman | 2014-12-11 08:41:07 +0100 (Thu, 11 Dec 2014) | 6 lines

Implemented the molecules argument for the structure.find_pivot user function.

This allows the motional pivot optimisation between different molecules rather than different
models.
........
r27067 | bugman | 2014-12-11 08:58:36 +0100 (Thu, 11 Dec 2014) | 8 lines

Shifted the atomic assembly code from the structure.align user function into its own function.

The new function assemble_coordinates() of the pipe_control.structure.main module will be used to
standardise the process of assembling atomic coordinates for all of the structure user functions.
This will improve the support for comparing different molecules rather than different models as
missing atoms or divergent primary sequence are properly handled, and it has multi-pipe support.
........
r27068 | bugman | 2014-12-11 09:04:35 +0100 (Thu, 11 Dec 2014) | 5 lines

Changed the argument order for the structure.align user function.

The standardised order will now be pipes, models, molecules, atom_id, etc.
........
r27069 | bugman | 2014-12-11 09:25:06 +0100 (Thu, 11 Dec 2014) | 12 lines

Converted the structure.find_pivot user function to the new pipes/models/molecules/atom_id design.

This allows the motional pivot algorithm to work on atomic coordinates from different data pipes,
different structural models, and different molecules. The change allows the
Structure.test_find_pivot_molecules system test to now pass, as missing atomic data is now correctly
handled. The user function backend uses the new pipe_control.structure.main.assemble_coordinates()
function.

The Structure.test_find_pivot and Structure.test_find_pivot_molecules system tests have been updated
for the user function argument changes.
........
r27070 | bugman | 2014-12-11 09:44:53 +0100 (Thu, 11 Dec 2014) | 12 lines

Shift of the atomic coordinate assembly code into the relax library.

Most of the pipe_control.structure.main.assemble_coordinates() function has been shifted into the
assemble_coord_array() function of the new lib.structure.internal.coordinates module. The
pipe_control function now only checks the arguments and assembles the structural objects from the
relax data store, and then calls assemble_coord_array() to do all of the work.

This code abstraction increases the usefulness of the atomic coordinate assembly and allows it to be
significantly expanded in the future, for example by being able to take sequence alignments into
consideration.
........
r27071 | bugman | 2014-12-11 09:49:08 +0100 (Thu, 11 Dec 2014) | 3 lines

Tooltip standardisation for the structure.align and structure.find_pivot user functions.
........
r27072 | bugman | 2014-12-11 10:02:23 +0100 (Thu, 11 Dec 2014) | 3 lines

Comment fix.
........
r27073 | bugman | 2014-12-11 10:20:56 +0100 (Thu, 11 Dec 2014) | 5 lines

The coordinate assembly function now returns list of unique IDs.

This is for each structural object, model and molecule.
........
r27074 | bugman | 2014-12-11 10:33:05 +0100 (Thu, 11 Dec 2014) | 6 lines

Changed the structure ID strings returned by the assemble_coord_array() function.

This is from the lib.structure.internal.coordinates module. The structural object name is only
included if more than one structural object has been supplied.
........
r27075 | bugman | 2014-12-11 10:38:43 +0100 (Thu, 11 Dec 2014) | 3 lines

More improvements for the structure ID strings returned by the assemble_coord_array() function.
........
r27076 | bugman | 2014-12-11 10:43:48 +0100 (Thu, 11 Dec 2014) | 3 lines

More improvements for the structure ID strings returned by the assemble_coord_array() function.
........
r27077 | bugman | 2014-12-11 10:48:26 +0100 (Thu, 11 Dec 2014) | 6 lines

Converted the internal structural displacement object to use unique IDs rather than model numbers.

This allows the object to be much more flexible in what types of structures it can handle. This is
in preparation for a change in the structure.displacement user function.
........
r27078 | bugman | 2014-12-11 10:50:16 +0100 (Thu, 11 Dec 2014) | 9 lines

Converted the structure.displacement user function to the new pipes/models/molecules/atom_id design.

This allows the displacements to be calculated between atomic coordinates from different data pipes,
different structural models, and different molecules. The user function backend has been hugely
simplified as it now uses the new pipe_control.structure.main.assemble_coordinates() function.

The Structure.test_displacement system test has been updated for the user function argument changes.
........
r27079 | bugman | 2014-12-11 10:55:24 +0100 (Thu, 11 Dec 2014) | 3 lines

Another refinement for the structure ID strings returned by the assemble_coord_array() function.
........
r27080 | bugman | 2014-12-11 10:55:53 +0100 (Thu, 11 Dec 2014) | 5 lines

Updated the Structure.test_displacement_molecules system test.

This is for the changes to the structure.displacement user function.
........
r27081 | bugman | 2014-12-11 11:03:54 +0100 (Thu, 11 Dec 2014) | 3 lines

Docstring spelling fixes for the steady-state NOE and relaxation curve-fitting auto-analyses.
........
r27082 | bugman | 2014-12-11 11:20:03 +0100 (Thu, 11 Dec 2014) | 10 lines

Converted the structure.rmsd user function to the new pipes/models/molecules/atom_id design.

This allows the RMSD calculation to work on atomic coordinates from different data pipes, different
structural models, and different molecules. The user function backend uses the new
pipe_control.structure.main.assemble_coordinates() function.

The Structure.test_rmsd_molecules system test has been updated for the user function argument
changes.
........
r27083 | bugman | 2014-12-11 11:34:24 +0100 (Thu, 11 Dec 2014) | 5 lines

Created the internal structural object model_list() method.

This is to simplify the assembly of a list of all current models in the structural object.
........
r27084 | bugman | 2014-12-11 11:37:33 +0100 (Thu, 11 Dec 2014) | 8 lines

Converted the structure.superimpose user function to the new pipes/models/molecules/atom_id design.

The user function arguments have not changed, however the backend now uses the new
pipe_control.structure.main.assemble_coordinates() function. This is to simply decrease the number
of failure points possible in the structure user functions. The change has no effect on the user
function use or results.
........
r27085 | bugman | 2014-12-11 11:42:40 +0100 (Thu, 11 Dec 2014) | 6 lines

Documentation fix for the assemble_coord_array() function.

The return values for lib.structure.internal.coordinates.assemble_coord_array() were incorrectly
documented.
........
r27086 | bugman | 2014-12-11 11:46:04 +0100 (Thu, 11 Dec 2014) | 6 lines

Modified the Structure.test_bug_22070_structure_superimpose_after_deletion system test.

This now calls the structure.align user function after calling the structure.superimpose user
function to better test a condition that can trigger bugs.
........
r27087 | bugman | 2014-12-11 11:49:26 +0100 (Thu, 11 Dec 2014) | 6 lines

Fixes for the structure.superimpose and structure.align user functions.

The fit_to_mean() and fit_to_first() functions of lib.structure.superimpose where being incorrectly
called, in that they expect a list of elements and not lists of lists.
........
r27088 | bugman | 2014-12-11 12:25:03 +0100 (Thu, 11 Dec 2014) | 9 lines

Code refactorisation for the structure.align user function backend.

The looping over data pipes, model numbers, and molecule names, skipping those that don't match the
function arguments, has been shifted into the new structure_loop() generator function of the
pipe_control.structure.main module. This function assembles the data from the data store and then
calls the new loop_coord_structures() generator function of the lib.structure.internal.coordinates
module which does all of the work.
........
r27089 | bugman | 2014-12-11 13:13:19 +0100 (Thu, 11 Dec 2014) | 3 lines

Some docstring expansions for the pipe_control.structure.main module functions.
........
r27090 | bugman | 2014-12-11 13:40:41 +0100 (Thu, 11 Dec 2014) | 9 lines

Refactored the descriptions of a number of structure user functions.

This includes the structure.align, structure.displacement, structure.find_pivot, structure.rmsd and
structure.superimpose user functions. The paragraph_multi_struct and paragraph_atom_id module
strings have been created and are shared as two paragraphs for each of these user function
descriptions. This standardises the pipe/model/molecule/atom_id descriptions. The user function
wizard page sizes have been updated for these changes.
........
r27091 | bugman | 2014-12-11 16:00:21 +0100 (Thu, 11 Dec 2014) | 10 lines

Changed the design of the lib.structure.internal.coordinates.assemble_coord_array() function.

The elements_flag argument has been renamed to seq_info_flag. If this is set, then in addition to
the atomic elements, the molecule name, residue name, residue number, and atom name is now assembled
and returned. This information is now the common information between the structures, hence the
return values for the elements are a list of str rather than list of lists.

All of the code in pipe_control.structure.main has been updated for the change.
........
r27092 | bugman | 2014-12-11 16:03:42 +0100 (Thu, 11 Dec 2014) | 6 lines

Fix for the structure.align user function if no data pipes are supplied.

The pipes list was no longer being created as it was shifted to the assemble_coordinates() function,
however it is required for the translation and rotation function calls.
........
r27093 | bugman | 2014-12-11 16:23:46 +0100 (Thu, 11 Dec 2014) | 7 lines

Bug fix for the lib.arg_check.is_int_list() function for checking a list of lists.

This is used to check user function arguments, but was causing a RelaxError to be raised for all
integer list of lists user function arguments when a valid value is supplied. The function has been
updated to match the is_str_list() function which does not suffer from this bug.
........
r27094 | bugman | 2014-12-11 17:13:55 +0100 (Thu, 11 Dec 2014) | 17 lines

Converted the structure.web_of_motion user function to the new pipe/model/molecule/atom_id design.

This allows the web of motion representation to work on atomic coordinates from different data
pipes, different structural models, and different molecules. The user function backend uses the new
pipe_control.structure.main.assemble_coordinates() function to assemble the common atom coordinates,
molecule names, residue names, residue numbers, atom names and elements. All this information is
then used to construct the new web of motion PDB file. Therefore the entire backend has been
rewritten.

The Structure.test_web_of_motion_12, Structure.test_web_of_motion_13, and
Structure.test_web_of_motion_all system tests have all been updated for the changed
structure.web_of_motion user function arguments. In addition, the system tests
Structure.test_web_of_motion_12_molecules, Structure.test_web_of_motion_13_molecules and
Structure.test_web_of_motion_all_molecules have been created as a copy of the other tests but with
the 3 structures loaded as different molecules.
........
r27095 | bugman | 2014-12-11 17:27:20 +0100 (Thu, 11 Dec 2014) | 7 lines

Fix for the IDs returned by lib.structure.internal.coordinates.assemble_coord_array().

The list of unique structure IDs was being incorrectly constructed if multiple molecules are present
but the molecules argument was not supplied. It would be of a different size to the coordinate data
structure.
........
r27096 | bugman | 2014-12-11 17:27:46 +0100 (Thu, 11 Dec 2014) | 3 lines

Fix for the Structure.test_displacement system test for the assemble_coord_array() function bugfix.
........
r27097 | bugman | 2014-12-11 17:28:11 +0100 (Thu, 11 Dec 2014) | 3 lines

Removed a debugging printout.
........
r27098 | bugman | 2014-12-11 18:55:25 +0100 (Thu, 11 Dec 2014) | 6 lines

Modified the Structure.test_align system test to show a failure of the structure.align user function.

The alignment causes all atoms in the structural object to be translated and rotated, whereas it
should only operate on the atoms of the atom_id argument.
........
r27099 | bugman | 2014-12-11 19:01:54 +0100 (Thu, 11 Dec 2014) | 7 lines

Modified the Structure.test_superimpose_fit_to_mean system test.

This is also to demonstrate a bug, this time in the structure.superimpose user function, in which
the algorithm causes a translation and rotation of all atoms rather than just those selected by the
atom_id argument.
........
r27100 | bugman | 2014-12-11 19:10:37 +0100 (Thu, 11 Dec 2014) | 8 lines

Modified some system tests of the structure.align and structure.superimpose user functions.

The displace_id argument has been introduced for both of these user functions for finer control over
which atoms are translated and rotated by the algorithm. This allows, for example, to align
structures based on a set of backbone heavy atoms while the protons and side chains are displaced by
default. Or if a domain is aligned, then just that domain can be displaced.
........
r27101 | bugman | 2014-12-11 19:37:46 +0100 (Thu, 11 Dec 2014) | 8 lines

Added the displace_id argument to the structure.align and structure.superimpose user functions.

This gives both of these user functions finer control over which atoms are translated and rotated by
the algorithm. This allows, for example, to align structures based on a set of backbone heavy atoms
while the protons and side chains are displaced by default. Or if a domain is aligned, then just
that domain can be displaced.
........
r27102 | bugman | 2014-12-11 19:38:25 +0100 (Thu, 11 Dec 2014) | 3 lines

Fixes for the Structure.test_superimpose_fit_to_mean system test for the displace_id argument.
........
r27103 | bugman | 2014-12-12 10:48:40 +0100 (Fri, 12 Dec 2014) | 6 lines

Modified the Structure.test_align_molecules system test to catch a bug.

This is the failure of the displace_id argument of the structure.align user function when the
molecules argument is supplied - all atoms are being displaced instead of a subset.
........
r27104 | bugman | 2014-12-12 10:52:24 +0100 (Fri, 12 Dec 2014) | 6 lines

Fix for the displace_id and molecules arguments of the structure.align user function.

The atom ID used for the translations and rotations is now properly constructed from the molecule
names in the molecules list and the displace_id string.
........
r27105 | bugman | 2014-12-12 11:41:11 +0100 (Fri, 12 Dec 2014) | 5 lines

Changes for water in the PDB file created by the structure.write_pdb user function.

The waters with the residue name 'HOH' are no longer output to HET records.
........
r27106 | bugman | 2014-12-12 12:08:20 +0100 (Fri, 12 Dec 2014) | 6 lines

Improvement for the structure.read_pdb user function.

The helix and sheet secondary structure reading now takes the real_mol argument into account to
avoid reading in too much information.
........
r27107 | bugman | 2014-12-12 12:22:03 +0100 (Fri, 12 Dec 2014) | 6 lines

Improvement for the merge argument of the structure.read_pdb user function.

This argument is now overridden if the molecule to merge to does not exist. This allows the merge
flag to be used together with read_mol and set_mol_name set to lists.
........
r27108 | bugman | 2014-12-12 12:22:47 +0100 (Fri, 12 Dec 2014) | 5 lines

Fix for the selective secondary structure reading of the structure.read_pdb user function.

The molecule index needs to incremented by 1 to be the molecule number.
........
r27109 | bugman | 2014-12-12 15:36:01 +0100 (Fri, 12 Dec 2014) | 9 lines

Large improvement for the PDB molecule identification code.

This affects the structure.read_pdb user function. Now the chain ID code, if present in the PDB
file, is being used to determine which ATOM and HETATM records belong to which molecule. All of the
records for each molecule are stored until the end, when they are all yielded. This allows for
discontinuous chain IDs throughout the PDB file, something which occurs often with the HETATM
records.
........
r27110 | bugman | 2014-12-12 16:06:47 +0100 (Fri, 12 Dec 2014) | 6 lines

Expanded the displace_id argument for the structure.align user function.

This can now be a list of atom IDs, so that any atoms can be rotated together with the structure
being aligned. This is useful if the molecules argument is supplied.
........
r27111 | bugman | 2014-12-12 21:48:16 +0100 (Fri, 12 Dec 2014) | 7 lines

Fix for the Noe.test_bug_21562_noe_replicate_fail system test.

This is for the changed behaviour of the structure.read_pdb user function. The problem is that the
PDB file read in this test has the chain ID set to X. This broken PDB causes molecule numbering
problems.
........
r27112 | bugman | 2014-12-15 18:44:42 +0100 (Mon, 15 Dec 2014) | 3 lines

Expanded the description of the structure.rmsd user function.
........
r27113 | bugman | 2014-12-16 09:10:28 +0100 (Tue, 16 Dec 2014) | 5 lines

Changed the paragraph ordering in the documentation of a number of the structure user functions.

This includes the structure.align, structure.displacement, and structure.find_pivot user functions.
........
r27114 | bugman | 2014-12-16 09:11:58 +0100 (Tue, 16 Dec 2014) | 3 lines

Fix for the prompt examples documentation for the structure.align user function.
........
r27115 | bugman | 2014-12-16 09:15:35 +0100 (Tue, 16 Dec 2014) | 3 lines

Improved the sizing layout of the structure.align user function GUI dialog.
........
r27116 | bugman | 2014-12-16 09:19:19 +0100 (Tue, 16 Dec 2014) | 3 lines

Improved the sizing layout of the structure.superimpose user function GUI dialog.
........
r27119 | bugman | 2014-12-18 09:11:29 +0100 (Thu, 18 Dec 2014) | 5 lines

Created the Structure.test_atomic_fluctuations system test.

This will be used to implement the idea of the structure.atomic_fluctuations user function.
........
r27120 | bugman | 2014-12-18 09:51:58 +0100 (Thu, 18 Dec 2014) | 3 lines

Small fix for the new Structure.test_atomic_fluctuations system test.
........
r27121 | bugman | 2014-12-18 10:00:31 +0100 (Thu, 18 Dec 2014) | 5 lines

Another small fix for the Structure.test_atomic_fluctuations system test.

The matrix diagonal was incorrect.
........
r27122 | bugman | 2014-12-18 10:03:26 +0100 (Thu, 18 Dec 2014) | 6 lines

Implemented the structure.atomic_fluctuations user function.

This is loosely based on the structure.web_of_motion user function and is related to it. The user
function will write to file a correlation matrix of interatomic distance fluctuations.
........
r27123 | bugman | 2014-12-18 10:33:09 +0100 (Thu, 18 Dec 2014) | 5 lines

Created 4 unit tests for the lib.io.swap_extension function.

This is in preparation for implementing the function.
........
r27124 | bugman | 2014-12-18 10:35:22 +0100 (Thu, 18 Dec 2014) | 5 lines

Implemented the lib.io.swap_extension() function.

This is confirmed to be fully functional by its four unit tests.
........
r27125 | bugman | 2014-12-18 11:05:44 +0100 (Thu, 18 Dec 2014) | 11 lines

Created the empty lib.plotting package.

This follows from the thread at http://thread.gmane.org/gmane.science.nmr.relax.devel/7444.

The package will be used for assembling all of the data plotting capabilities of relax. It will
make support for different plotting software - Grace, OpenDX, matplotlib, gnuplot, etc - more
coherent. This will be used to create a software independent API for plotting in relax. I.e. the
plotting software is chosen by the user and then the data output by the user function passes into
the lib.plotting API which is then passed into the software dependent backend in lib.plotting.
........
r27126 | bugman | 2014-12-18 11:15:34 +0100 (Thu, 18 Dec 2014) | 7 lines

Created the Structure.test_atomic_fluctuations_gnuplot system test.

This checks the operation of the structure.atomic_fluctuations user function when the output format
is set to 'gnuplot'. This will be used to implement this option. The current gnuplot script
expected by this test is just a very basic starting script for now.
........
r27127 | bugman | 2014-12-18 12:05:07 +0100 (Thu, 18 Dec 2014) | 7 lines

Created the lib.plotting API function correlation_matrix().

This is the lib.plotting.api.correlation_matrix() function. It will be used for the visualisation
of rank-2 correlation matrices. The current basic API design here uses a dictionary of backend
functions (currently empty) for calling the backend.
........
r27128 | bugman | 2014-12-18 12:07:24 +0100 (Thu, 18 Dec 2014) | 6 lines

Implemented a very basic gnuplot backend for the correlation_matrix() plotting API function.

This is in the new lib.plotting.gnuplot module. It creates an incredibly basic gnuplot script for
visualising the correlation matrix, assuming a text file has already been created.
........
r27129 | bugman | 2014-12-18 12:13:07 +0100 (Thu, 18 Dec 2014) | 6 lines

Enabled the gnuplot format for the structure.atomic_fluctuations user function.

This uses the plotting API correlation_matrix() function for visualisation. The change allows the
Structure.test_atomic_fluctuations_gnuplot system test to pass.
........
r27130 | bugman | 2014-12-18 12:23:42 +0100 (Thu, 18 Dec 2014) | 8 lines

Shifted the matrix output of the structure.atomic_fluctuations user function into lib.plotting.text.

The new lib.plotting.text module will be used by the relax library plotting API to output data into
plain text format. The current correlation_matrix() function, which has been added to the API
correlation_matrix() function dictionary, simply has the file writing code of the
structure.atomic_fluctuations user function. This significantly simplifies the user function.
........
r27131 | bugman | 2014-12-18 12:25:01 +0100 (Thu, 18 Dec 2014) | 3 lines

More simplifications for the structure.atomic_fluctuations user function backend.
........
r27132 | bugman | 2014-12-18 12:28:49 +0100 (Thu, 18 Dec 2014) | 5 lines

Fix for the structure.atomic_fluctuations user function backend.

The pipe_control.structure.main.atomic_fluctuations() function no longer opens the output file.
........
r27133 | bugman | 2014-12-18 12:30:37 +0100 (Thu, 18 Dec 2014) | 6 lines

The gnuplot correlation_matrix() plotting API function now creates a text file of the data.

The lib.plotting.gnuplot.correlation_matrix() function now calls the
lib.plotting.text.correlation_matrix() function prior to creating the gnuplot script.
........
r27134 | bugman | 2014-12-18 16:08:32 +0100 (Thu, 18 Dec 2014) | 8 lines

Significantly expanded the gnuplot script from via the correlation_matrix() plotting API function.

This is for the structure.atomic_fluctuations user function. The output terminal is now set to EPS,
the colour map changed from the default to a blue-red map, labels have been added, the plot is now
square, and comments are now included throughout the script to help a user hand modify it after
creation.
........
r27135 | bugman | 2014-12-18 16:17:41 +0100 (Thu, 18 Dec 2014) | 3 lines

Improvement in the comments from the gnuplot correlation_matrix() plotting API function.
........
r27136 | bugman | 2014-12-18 16:45:24 +0100 (Thu, 18 Dec 2014) | 6 lines

Updated the Structure.test_atomic_fluctuations_gnuplot system test.

This is for the gnuplot correlation_matrix() plotting API changes which affect the
structure.atomic_fluctuations user function.
........
r27137 | bugman | 2014-12-18 16:46:11 +0100 (Thu, 18 Dec 2014) | 5 lines

Docstring fixes for the Structure.test_atomic_fluctuations_gnuplot system test.

This was pointing to the structure.rmsd user function instead of structure.atomic_fluctuations.
........
r27138 | bugman | 2014-12-18 18:07:19 +0100 (Thu, 18 Dec 2014) | 8 lines

Fixes and improvements for the gnuplot correlation_matrix() plotting API function.

This is for the structure.atomic_fluctuations user function. The "pm3d map" plot type is incorrect
for such data type, so instead of using 'splot', 'plot' is being used instead. The resultant EPS
file is now much smaller. The colour map has also been changed to one of the inbuilt ones for
higher contrast.
........
r27139 | bugman | 2014-12-18 18:55:27 +0100 (Thu, 18 Dec 2014) | 6 lines

Forced the gnuplot correlation_matrix plot to be square.

This is for the correlation_matrix() plotting API function used by the new
structure.atomic_fluctuations user function.
........
r27140 | bugman | 2014-12-18 18:57:38 +0100 (Thu, 18 Dec 2014) | 6 lines

Updated the Structure.test_atomic_fluctuations_gnuplot system test.

This is for the changes of the gnuplot correlation_matrix() plotting API function used by the
structure.atomic_fluctuations user function.
........
r27141 | bugman | 2014-12-19 10:49:00 +0100 (Fri, 19 Dec 2014) | 3 lines

Docstring fix for the Structure.test_atomic_fluctuations system test.
........
r27142 | bugman | 2014-12-19 10:49:22 +0100 (Fri, 19 Dec 2014) | 3 lines

Another docstring fix for the Structure.test_atomic_fluctuations system test.
........
r27143 | bugman | 2014-12-19 11:01:02 +0100 (Fri, 19 Dec 2014) | 6 lines

Created the Structure.test_atomic_fluctuations_angle system test.

This will be used to implement the mapping of inter-atomic vector angular fluctuations between
structures via a new 'measure' keyword argument for the structure.atomic_fluctuations user function.
........
r27144 | bugman | 2014-12-19 11:23:46 +0100 (Fri, 19 Dec 2014) | 7 lines

Implemented angular fluctuations for the structure.atomic_fluctuations user function.

This adds the measure argument to the user function to allow either the default of 'distance' or the
'angle' setting to be chosen. The implementation is confirmed by the
Structure.test_atomic_fluctuations_angle system test which now passes.
........
r27145 | bugman | 2014-12-19 11:49:07 +0100 (Fri, 19 Dec 2014) | 5 lines

Clean ups and speed ups of the structure.atomic_fluctuations user function.

Duplicate calculations are now avoided, as the SD matrix is symmetric.
........
r27146 | bugman | 2014-12-19 15:10:42 +0100 (Fri, 19 Dec 2014) | 3 lines

Description improvements and GUI layout fixes for the structure.atomic_fluctuations user function.
........
r27147 | bugman | 2014-12-19 16:42:53 +0100 (Fri, 19 Dec 2014) | 7 lines

Added the 'parallax shift' measure to the structure.atomic_fluctuations user function.

The parallax shift is defined as the length of the average vector minus the interatomic vector. It
is similar to the angle measure however, importantly, it is independent of the distance between the
two atoms.
........
r27148 | bugman | 2014-12-19 19:31:23 +0100 (Fri, 19 Dec 2014) | 6 lines

Updated the gnuplot scripts to be executable.

These are the scripts created by the gnuplot specific correlation_matrix() plotting API function.
The file is made executable and the script now starts with "#!/usr/bin/env gnuplot".
........
r27149 | bugman | 2014-12-22 09:09:57 +0100 (Mon, 22 Dec 2014) | 5 lines

Created the Structure.test_atomic_fluctuations_parallax system test.

This is to demonstrate that the parallax shift fluctuations are not implemented correctly.
........
r27150 | bugman | 2014-12-22 09:19:13 +0100 (Mon, 22 Dec 2014) | 5 lines

Fix for the Structure.test_atomic_fluctuations_parallax system test.

The distance shifts need to be numbers, not vectors.
........
r27151 | bugman | 2014-12-22 09:19:50 +0100 (Mon, 22 Dec 2014) | 3 lines

Proper implementation of the 'parallax shift' for the structure.atomic_fluctuations user function.
........
r27152 | bugman | 2014-12-22 10:56:15 +0100 (Mon, 22 Dec 2014) | 6 lines

Improved the structure.atomic_fluctuations user function documentation.

The fluctuation categories are now better explained. And the 'parallax shift' option is now
available in the GUI.
........
r27153 | bugman | 2014-12-23 11:07:45 +0100 (Tue, 23 Dec 2014) | 5 lines

Fix for the parallax shift description in the structure.atomic_fluctuations user function.

The parallax shift is not quite orthogonal to the distance fluctuations.
........

2015-01-07 10:16:25 Tree
[r27153] by bugman

Fix for the parallax shift description in the structure.atomic_fluctuations user function.

The parallax shift is not quite orthogonal to the distance fluctuations.

2014-12-23 10:07:45 Tree
[r27152] by bugman

Improved the structure.atomic_fluctuations user function documentation.

The fluctuation categories are now better explained. And the 'parallax shift' option is now
available in the GUI.

2014-12-22 09:56:15 Tree
[r27151] by bugman

Proper implementation of the 'parallax shift' for the structure.atomic_fluctuations user function.

2014-12-22 08:19:50 Tree
[r27150] by bugman

Fix for the Structure.test_atomic_fluctuations_parallax system test.

The distance shifts need to be numbers, not vectors.

2014-12-22 08:19:13 Tree
[r27149] by bugman

Created the Structure.test_atomic_fluctuations_parallax system test.

This is to demonstrate that the parallax shift fluctuations are not implemented correctly.

2014-12-22 08:09:57 Tree
[r27148] by bugman

Updated the gnuplot scripts to be executable.

These are the scripts created by the gnuplot specific correlation_matrix() plotting API function.
The file is made executable and the script now starts with "#!/usr/bin/env gnuplot".

2014-12-19 18:31:23 Tree
[r27147] by bugman

Added the 'parallax shift' measure to the structure.atomic_fluctuations user function.

The parallax shift is defined as the length of the average vector minus the interatomic vector. It
is similar to the angle measure however, importantly, it is independent of the distance between the
two atoms.

2014-12-19 15:42:53 Tree
[r27146] by bugman

Description improvements and GUI layout fixes for the structure.atomic_fluctuations user function.

2014-12-19 14:10:42 Tree
[r27145] by bugman

Clean ups and speed ups of the structure.atomic_fluctuations user function.

Duplicate calculations are now avoided, as the SD matrix is symmetric.

2014-12-19 10:49:07 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.