pymem3dg.util¶
Description
Functions
|
Unit conversion from femto (1e-15) Joule to kBT |
|
Gaussian distribution |
|
linear Sampling |
|
rowwise dot product |
|
rowwise norm |
|
Rowwise normalize the matrix |
|
rowwise scaling |
|
Apply moving average to smooth the data |
|
Apply spherical harmonics to perturb the vertex positions of the mesh in the direction of (position - origin) |
|
unit tanh distribution y(x) that is y=1 at x=-inf and y=0 at x=+inf :param x: distribution argument :type x: array :param sharpness: sharpness of transition :type sharpness: float :param center: location of transition between 1 and 0. |
|
pad frame index with dummy string in the font |