Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Official government website icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

icon-https

Secure .gov websites use HTTPS
A lock ( Lock Locked padlock icon )or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases NIH: National Institute of Diabetes and Digestive and Kidney Diseases
bit Xplor-NIH VMD-XPLOR
compareTensors

compareTensors

Given two raw Saupe matrices specified in stdin, compute the normalized scalar product between the two tensors and the scalar product between axes. Also, compute angle of rotation between two axes.

Reference: J. Sass et al. J. Am. Chem. Soc. (1999) 121:2047-2055.

Usage: compareTensors

Example:

compareTensors < tensors.in

where tensors.in contains two raw 3x3 Saupe matrices, e.g., as obtained from the calcTensor accessory program:

VarTensor   Saupe matrix:        7.030   17.274    1.159
VarTensor                       17.274  -23.343    2.768
VarTensor                        1.159    2.768   16.313
VarTensor   Saupe matrix:        2.481   18.246   -2.683
VarTensor                       18.246  -19.248    8.687
VarTensor                       -2.683    8.687   16.767

or as provided within the REMARKS records of PDB headers.

Additional common options

  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health