This class samples a trajectory to determine different properties. Different properties can be initialized to be run at the same time during the sampling run. The output is stored in form of pickle files for later calculation using methods provided in the package.
It is advisable to run the sampling on a cluster due to a high time and resource consumption.
The system can either be a pore system - variable system is a file link to the pore_system object file - or a simple simulation box - variable system is a list containing the dimensions in nano meter.
Link to poresystem object file or a list of dimensions for a simple box analysisd
Link to trajectory file (trr or xtc)
Molecule to calculate the density for
List of atom names, leave empty for whole molecule
List of atom masses, leave empty to read molecule object masses
Remove pore entrance from calculation
Methods
|
This function calculates the angle between a molecule vector defined between two atoms and the surface normal vector at the postition of the molecules center of mass. |
Create angle data structure. |
|
|
This function creates a simple bin structure for the exterior of the pore based on the reservoir length. |
|
This function creates a simple bin structure for the interior of the pore based on the pore diameter. |
|
This function creates a bin structure for the interior of the pore based on the pore diameter so that all bins have the same area. |
|
This function creates a simple bin structure for the interior of the pore based on the pore diameter. |
|
This function creates a simple bin structure for the pore and resevoir. |
|
This function creates window list for each bin for the interior of the pore based on the pore diameter. |
|
This function samples the density inside and outside of the pore. |
Create density data structure. |
|
|
This function samples the mean square displacement of a molecule group in a pore in both axial and radial direction separated in radial bins. |
Create bin diffusion data structure. |
|
|
Helper function to define allowed bin step list. |
|
This function sample the transition matrix for the diffusion calculation with the Monte Carlo diffusion methode for a cubic simulation box. |
Create mc diffusion data structure. |
|
|
This function calculates the gyration radius of molecules inside the pore. |
Create gyration data structure. |
|
|
Helper function for sampling run. |
|
Enable angle sampling routine. |
|
Enable density sampling routine. |
|
Enable diffusion sampling routine. |
|
Enable diffusion sampling routine with the MC Alogrithm. |
|
Enable gyration sampling routine. |
|
This function runs all enabled sampling routines. |