Trees | Indices | Help |
|
---|
|
object --+ | analysistool.AnalysisTool --+ | OrderParameter
Given the Direcator (local or global), and the descriptor (local or global), calculate the order parameter |S_k| = | 1/N sum( ((3 * M dot m)^2 -1) / 2) | Where 'M' is the director vector and 'm' is the descriptor vectors
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
director_dict =
|
|||
smarts_dict =
|
|
|||
_st self._mols_aid = [map(lambda x: x-1, mol.getAtomIndices())... |
|
|||
|
Initialize frame slicing information. The behavior of 'start', 'stop', 'step' is the same as the python built-in range function. That is, 'start' is included in the values to be processed, but 'stop' is not. Only the largest value satisfying 'start' and 'step' that is less than 'stop' will be processed.
|
Process smarts, if smarts are used, get the vectors that match it. Store the list of index pairs, so the smarts pattern is not called every frame. |
Initialize analysis. this only runs once.
|
Collect data for the provided frame.
|
Return results as a numpy array for all values and frames with the first index being across frames. So, if fr = analysis.getFrameResults(), and the analysis instance calculates three values for each frame, then fr[0] will be the three values for the first frame.
|
|
A generic matplotlib 2D plot implementation.
|
|
director_dict
|
|
_stself._mols_aid = [map(lambda x: x-1, mol.getAtomIndices()) for mol in self._st.molecule] |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 01:00:00 2016 | http://epydoc.sourceforge.net |