Menu

SVN archive Commit Log


Commit Date  
[r2765] by bugman

Spell check of the PDB and PyMOL user functions and generic_fns code.

2006-11-07 05:52:16 Tree
[r2764] by bugman

Added extra atoms to the 'AXS' residue of the tensor PDB representation for labelling.

Two or six extra atoms are added for the spheroid and ellipsoid axes respectively. These are set to
be nitrogen atoms to allow easy selection of just those atoms. They are also placed 3 Angstrom
outside of the geometric object so that the labels do not clash with the latitudinal and
longitudinal lines as well as the Monte Carlo simulation axes.

The code for generating the PDB chemical formula in 'self.write_pdb_file()' was modified to handle
nitrogen atoms.

The PyMOL user function 'pymol.tensor_pdb()' has been modified to use the new representation. The
final selection is also deleted at the end of the user function.

2006-11-07 05:51:20 Tree
[r2763] by bugman

'pymol.tensor_pdb()' has been modified to change the representation of 'COM', 'AXS', and 'SIM'.

The centre of mass 'COM' is shown as the 'dots' representation and is coloured blue.

The diffusion tensor axes 'AXS' are shown as the 'sticks' representation, is coloured cyan, and the
atoms labelled to show 'Dpar', 'Dx', 'Dy', and 'Dz' in PyMOL.

The Monte Carlo simulations axes are coloured cyan.

2006-11-07 05:50:05 Tree
[r2762] by bugman

Added a description of the 4 residues 'COM', 'TNS', 'AXS', and 'SIM' to 'pdb.create_tensor_pdb()'.

2006-11-07 05:47:44 Tree
[r2761] by bugman

Removed the unused arguments to the 'self.write_pdb_file()' function.

2006-11-07 05:46:20 Tree
[r2760] by bugman

Monte Carlo simulations are now included in the diffusion tensor PDB representation.

If Monte Carlo simulations exist and the diffusion tensor parameters were allowed to vary then the
PDB file of the diffusion tensor representation will contain multiple 'SIM' residues, one for each
simulation. The atoms of these residues represent the axes of the simulated tensors and they will
appear as a distribution.

The code for generating the 'AXS' residues has been shifted from 'self.create_tensor_pdb()' into the
functions 'self.generate_spheroid_axes()' and 'self.generate_ellipsoid_axes()'. The code has been
modified to create the 'SIM' residues as well.

2006-11-07 05:44:04 Tree
[r2759] by bugman

Preparation of the other functions for automatically generating diffusion tensor data objects.

All the other functions (vs. the previous commit) have been prepared to return either the real value
or the MC sim data.

2006-11-07 05:34:08 Tree
[r2758] by bugman

Simplification of the functions for automatically generating diffusion tensor data objects.

The following functions have been coalesced into their non-simulation counterparts:
self._auto_object_Dpar_unit_sim()
self._auto_object_Dx_unit_sim()
self._auto_object_Dy_unit_sim()
self._auto_object_Dz_unit_sim()

2006-11-07 05:33:18 Tree
[r2757] by bugman

Added automatically generated MC simulation objects to the diffusion tensor data structure.

The class implementing the object is called 'DiffAutoSimArrayObject'. The following functions have
been addded to generate the objects:
self._auto_object_Diso_sim()
self._auto_object_Dpar_sim()
self._auto_object_Dper_sim()
self._auto_object_Dpar_unit_sim()
self._auto_object_Dx_sim()
self._auto_object_Dy_sim()
self._auto_object_Dz_sim()
self._auto_object_Dx_unit_sim()
self._auto_object_Dy_unit_sim()
self._auto_object_Dz_unit_sim()

These are simply copies of the non-simulation functions with the added argument 'i' for selecting
the simulation.

2006-11-07 05:32:28 Tree
[r2756] by bugman

Redesign of the diffusion tensor data structure 'self.relax.data.diff'.

All of the Numeric data structures returned by the 'self.__getattr__()' function have been shifted
into their own instances of a new objected defined by the DiffAutoNumericObject class. This new
class when instantiated expects as an argument a function which will return a Numeric array, matrix,
etc. Using this function, the object currently implements the functions:
__add__(), implementation of addition.
__getitem__(), selecting individual elements of the array.
__iter__(), for looping over the array.
__len__(), the length of the array.
__mul__(), implementation of multiplication.
__repr__(), the 'official' string representation.
__setitm__(), throw a RelaxError if modification of the structure is attempted.

To enable the automatically generated objects, the code from 'self.__getattr__()' has been shifted
into the following 'hidden' functions of the DiffTensorElement class:
_auto_object_Dpar_unit()
_auto_object_Dx_unit()
_auto_object_Dy_unit()
_auto_object_Dz_unit()
_auto_object_rotation()
_auto_object_tensor()
_auto_object_tensor_diag()

2006-11-07 05:31:30 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.