Analyzer¶
Analyzer module provides a bunch of shortcuts for performing the most commonly used analysing method, like curve fitting, structure determination and time series analysis.
Note
Deprecated. This module is developed for personal projects. It’s not a comprehensive analysis toolkit.
Structural analysis¶
|
Calculate the weighted average of 2-dimensional data |
|
Calculate the center of mass of a group of atoms |
|
Calculate the radius of gyration of a group of atoms |
|
Calculate the volume occupied by a groups of at least four atoms |
Structural analysis for vapor-liquid interface¶
|
Check whether or not a density profile represents a vapor-liquid interface with canny edge method |
|
Check how many times one molecules have vaporized or condensed |
Time series analysis¶
|
Calculate the block average, standard deviation and their standard errors |
|
Split data to several blocks and return the average and standard deviation of each block |
|
Determine whether a time series has converged or not |
Calculate the statistical efficiency of block average with different block size. |
Curve fitting¶
|
Least square n-th order polynomial fitting: y = c0 + c1 * x + c2 * x**2 + . |
|
Evaluate the n-th order polynomial result: y = c0 + c1 * x + c2 * x**2 + . |
|
Evaluate the n-th order polynomial result and derivative: y = c0 + c1 * x + c2 * x**2 + . |
|
Least square n-th order 2-D polynomial fitting. |
|
Evaluate the n-th order 2-D polynomial result and derivative. |
|
Least square curve fitting |
|
Fit critical temperature using VLE density: dliq - dgas = B(1-T/Tc)**0.325 |
|
Fit critical density using VLE density and critical temperature: dliq + dgas = 2(Dc+A(1-T/Tc)) |