Download VOTCA manual

Transcript
10.4. SCRIPTS
10.4.63
67
table_extrapolate.pl
This script extrapolates a table
Usage: table_extrapolate.pl [OPTIONS] <in> <out>
Allowed options:
--avgpoints A average over the given number of points to extrapolate: default is 3
--function constant, linear, quadratic or exponential, sasha: default is quadratic
--no-flagupdate do not update the flag of the extrapolated values
--region left, right, or leftright: default is leftright
--curvature C curvature of the quadratic function: default is 10000, makes sense only
for quadratic extrapolation, ignored for other cases
-h, --help Show this help message
Extrapolation methods: always m = dy/dx = (y[i + A] − y[i])/(x[i + A] − x[i])
constant: y = y0
linear: y = ax + b b = −m ∗ x_0 + y_0; ; a = m
sasha: y = a ∗ (x − b)2 b = (x0 − 2y_0/m) a = m2 /(4 ∗ y_0)
exponential: y = a ∗ exp(b ∗ x) a = y0 ∗ exp(−m ∗ x0/y0) b = m/y_0
quadratic: y = C ∗ (x + a)2 + b a = m/(2 ∗ C) − x0 b = y_0 − m2 /(4 ∗ C)
10.4.64
table_get_value.pl
This script print the y value of x, which is closest to X.
Usage: table_get_value.pl [OPTIONS] X infile
Allowed options:
-h, --help Show this help message
10.4.65
table_getsubset.py
This script get the a subset of a table
Usage: table_getsubset.py
Allowed options:
--xstart X.X x value where the subset starts
--xstop X.X x value where the subset stops
--infile FILE input file
--outfile FILE output file
10.4.66
table_integrate.pl
This script calculates the integral of a table. Please note the force is the NEGATIVE integral of
the potential (use ’table linearop’ and multiply the table with -1)
Usage: table_integrate.pl [OPTIONS] <in> <out>
Allowed options:
--with-errors calculate error
--with-S Add entropic contribution to force 2k_BT /r
--kbT NUMBER use NUMBER as k_B ∗ T for the entropic part
-h, --help Show this help message
Examples: