| Trees | Indices | Help |
|
|---|
|
|
|
|||
| RDFException | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__doc__ =
|
|||
_version = '$Revision: 0.2 $'
|
|||
|
|||
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 an numpy array of coordinates (natoms,3); a box dimensions (nframes,3); and number of frames -- nframes.
|
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 Thu Aug 6 04:50:21 2015 | http://epydoc.sourceforge.net |