| Trees | Indices | Help | 
 | 
|---|
|  | 
This script will launch a Radial Distribution Function (RDF or g(r) or gofr) calculation. The input are: -out.cms, trajectory file, and one or two atom selections. The outputs are a simple key-value list.
Written by Dmitry Lupyan
$Revision: 0.3 $ Copyright Schrodinger, LLC. All rights reserved.
| 
 | |||
| RDFException | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| __doc__ =  | |||
| _version =  | |||
| __package__ =  | |||
| 
 | |||
| 
 Writes out an error message 
 | 
| 
 gets atom indices from asl selection 
 | 
| 
 Read the trajectory, extract the coordinates of indeces from sel1 and sel2, and the box dimensions. Return list of coordinates for selection 1 and two (natoms,3). Also return box dimensions for each frame (nframes,3). 
 | 
| 
 
Calculates the radial distirbution function (RDF or g(r)) over the
trajectory the inputs are: coordinates, box information, number of
particles, and frames.  The user also provides the histogram parameters to
be returned.
@type xyz1:     list
@param xyz1     float list of coordinates for sel1 with shape(nframes,
                natoms,3)
@type xyz2:     list
@param xyz2     float list of coordinates for sel2 with shape(nframes,
                natoms,3)
@type box:      list
@param box:     float list of box dimension for each frame, with shape(
                nframes,3)
@type rmax:     float
@param rmax:    the histogram's maximum value
@type dr:       float
@param dr:      the histogram's bin size
 | 
| 
 | |||
| __doc__
 | 
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:20 2016 | http://epydoc.sourceforge.net |