Display the diffusion tensor PDB geometric object over the loaded PDB.
file: The name of the PDB file containing the tensor geometric object.
In executing this user function, a PDB file must have previously been loaded , a geometric object or polygon representing the Brownian rotational diffusion tensor will be overlain with the loaded PDB file and displayed within Molmol. The PDB file containing the geometric object must be created using the complementary structure.create_diff_tensor_pdb user function.
To display the diffusion tensor, the multiple commands will be executed. To overlay the structure with the diffusion tensor, everything will be selected and reoriented and moved to their original PDB frame positions:
Next the tensor PDB file is read in, selected, and the covalent bonds of the PDB CONECT records calculated:
Then only the atoms and bonds of the geometric object are selected and the `ball/stick' style applied:
The appearance is finally touched up: