Package nMOLDYN :: Package Analysis :: Module Slave
[hide private]
[frames] | no frames]

Module Slave

source code

This modules contains the functions used by Pyro slave to perform analysis remotely.

Functions:
    * do_analysisPerElement: performs an analysis element-by-element.

Functions [hide private]
depends on the analysis
do_analysisPerElement(analysis, element, trajname)
Performs the analysis element-by-element, the element being either an atom (atom-by-atom analysis), a frame index (frame-by-frame analysis), a group of atom (group-by-group analysis) or a set of q vectors.
source code
Function Details [hide private]

do_analysisPerElement(analysis, element, trajname)

source code 

Performs the analysis element-by-element, the element being either an atom (atom-by-atom analysis), a frame index (frame-by-frame analysis), a group of atom (group-by-group analysis) or a set of q vectors.

Parameters:
  • analysis (a subclass of nMOLDYN.Analysis.Analysis.Analysis class) - the selected analysis.
  • element (MMTK.Atom|integer|MMTK.Collections.Collection|nMOLDYN.Mathematics.QVectors) - the element on which the analysis is based.
  • trajname (string) - a string specifying the name of the trajectory.
Returns: depends on the analysis
the results of the analysis performed on one element.