This is part of the function module |
Calculates statistical properties of a set of collective variables with respect to a set of reference values.
In particular it calculates and stores as components the sum of the squared deviations, the correlation, the slope and the intercept of a linear fit.
The reference values can be either provided as values using PARAMETERS or using value without derivatives from other actions using PARARG (for example using experimental values from collective variables such as CS2BACKBONE, RDC, NOE, PRE).
The following input tells plumed to print the distance between three couple of atoms and compare them with three reference distances.
d1: DISTANCEATOMS=10,50 d2: DISTANCEthe pair of atom that we are calculating the distance between.ATOMS=1,100 d3: DISTANCEthe pair of atom that we are calculating the distance between.ATOMS=45,75 st: STATSthe pair of atom that we are calculating the distance between.ARG=d1,d2,d3compulsory keyword the labels of the values from which the function is calculatedPARAMETERS=1.5,4.0,2.0 PRINTthe parameters of the arguments in your functionARG=d1,d2,d3,st.*compulsory keyword the labels of the values that you would like to print to the file
By default this Action calculates the following quantities. These quantities can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the quantity required from the list below.
Quantity | Description |
sqdevsum | the sum of the squared deviations between arguments and parameters |
corr | the correlation between arguments and parameters |
slope | the slope of a linear fit between arguments and parameters |
intercept | the intercept of a linear fit between arguments and parameters |
In addition the following quantities can be calculated by employing the keywords listed below
Quantity | Keyword | Description |
sqd | SQDEV | the squared deviations between arguments and parameters |
ARG | the labels of the values from which the function is calculated |
NUMERICAL_DERIVATIVES | ( default=off ) calculate the derivatives for these quantities numerically |
SQDEVSUM | ( default=off ) calculates only SQDEVSUM |
SQDEV | ( default=off ) calculates and store the SQDEV as components |
UPPERDISTS | ( default=off ) calculates and store the SQDEV as components |
PARARG | the input for this action is the scalar output from one or more other actions without derivatives. |
PARAMETERS | the parameters of the arguments in your function |