Go to the previous, next section.
The CORREL command is used to obtain a time series for a given property (`correlation-spec') and then manipulate it as required (`manip-spec') to plot the time series , correlation function, spectral density, etc. and determine the correlation times.
Reorienting a coordinate trajectory is possible using the COMPARE command. For details, see section Reorienting a Coordinate Trajectory.
N.B.: The documentation for correlation functions is not in the best of shape. Until there is an opportunity to go through all of the code and associated documentation in order to verify its accuracy, please use this command with especial care. Don't put all your faith in what you are about to read.
CORREL [COMPARE] FIRSTU unit [NUNIT integer] [BEGIN integer ] [STOP integer] [SKIP integer] [ ENERGY ] [VELOCITY] [GEOMETRY] [loop-spec] [FRUNIT unit] correlation-spec deldel repeat(manip-spec del)
BEGIN, STOP, and SKIP are used to specify which steps in the trajectory are actually used. BEGIN specifies the first step number to be used. STOP specifies the last. SKIP is used to select steps periodically as follows: only those steps whose step number is evenly divisible by STEP are selected. The default value for BEGIN is the first step in the trajectory; for STOP, it is the last step in the trajectory; and for SKIP, the default is 1.
Reorienting a coordinate trajectory is possible using the COMPARE command. For details, section Reorienting a Coordinate Trajectory.
The VELOCITY option is specified if the correlation function is required for velocities. The program then expects the files in NUNIT's from FIRSTU to be velocity files from a dynamics run.
The ENERGY or GEOMETRY option applies only when the correlation-spec refers to internal coordinates. ENERGY causes the energies to be used; GEOMETRY refers to the geometries. The default is GEOMETRY.
The loop-spec is used in the calculation of correlation functions of atomic positions projected onto the normal modes. Unfortunately, documentation on this is very skimpy, and anyone who is interested will have to dive into the code to understand what is going on.
The loop-spec syntax is as follows:
LOOP-SPEC ::= LOOP [DIAG] [BRIEF] repeat([integer [integer [integer [integer]]]] del) deldel
BRIEF reduces the amount of output showing what calculations will be done.
In this section, we describe what time series can be calculated for use by the correlation functions.
{ ATOM atom-correl-spec } { BOND bond-correl-spec } { ANGLE angle-correl-spec } { TORSION torsion-correl-spec } { IMPROPER improper-torsion-correl-spec } { VECTOR vector-correl-spec } { SCP/VEC vector-correl-spec } correlation-spec ::= { CRS/SCP/VEC vector-correl-spec } { SCP/ATM atom-correl-spec } { CRS/SCP/ATM vector-correl-spec } { FLCT/ATM atom-correl-spec } { SCP/FLCT/ATM atom-correl-spec } { CRS/SCP/FLCT/ATM vector-correl-spec } { RSQ/ATM atom-correl-spec } { GYRATION real } { DENSITY real } { MODE } { TEMP }
The correlation-spec option is required. This option specifies the property for which the time dependence is sought. The program determines whether the correlation function requested is auto or cross correlation. When a colon appears in the middle of correlation-spec, the program assumes that a cross correlation has been requested between the quantities on either side of the colon. (In special cases like SCP/ATM, SCP/VEC, SCP/FLCT/ATM, which are auto correlation quantities, a colon may be needed .)
The options in correlation-spec are the same for both coordinates and velocities . Those options that are exclusive to coordinates (c) or velocities (v) are thus noted. The Time series is determined for one (auto) or two (cross) quantities desired. If more than one quantity is specified, then the average of those quantities are determined as the time series. For example,
ATOM A 1 CA ! auto correlation for first alpha carbon ATOM A 1 CA : A 2 CA ! cross correlation between first and second ! alpha carbons. ATOM A 1 CA : A 1 CB $ - A 2 CA : A 2 CB $ ! cross correlation between the average of ! alpha carbons in residues 1 and 2 and the ! average of beta carbons in residues 1 and 2.
The options are listed below with the property they represent.
The following are the syntax of the specifications used above.
atom-correl-spec ::= repeat(atom-spec [: atom-spec] del) bond-correl-spec ::= repeat(atom-spec - atom-spec [: atom-spec - atom-spec] del) angle-correl-spec ::= repeat(atom-spec - atom-spec - atom-spec [: atom-spec - atom-spec - atom-spec ] del) torsion-correl-spec ::= repeat(atom-spec - atom-spec - atom-spec - atom-spec [: atom-spec - atom-spec - atom-spec - atom-spec ] del) vector-correl-spec ::= repeat(atom-spec - atom-spec [: atom-spec - atom-spec] del) atom-spec ::= [segid] [resid] [iupac]
NOTE: The unnamed parts of an atom-spec default to those used previously in the individual correlation specification.
The manip-spec option is used to manipulate the time series without having to use the files again and to plot the desired data.
manip-spec ::= {PLOT [LP] [PAGE [SAMPLE] ] [A] } { [TEX] [ [FIRST ] ] [B] } { [FULL ] } { } { [ DELTA ] } { [ NORMAL ] } {MANTIME [ SQUARE ] } { [ COS ] } { [ COS2 ] } { [ AVERAGE integer ] } { [ SQRT ] } { [ FLUCT ] } { [ DELTAI ] } { [ DELTAN integer ] } { [ OSC ] } { [ SAVE integer ] } { [ ADD integer ] } { [ PROB integer ] } { [ LOG ] } { [ MULT real ] } { [ DELTAMIN ] } { [ ABS ] } { [ NORM ] } { } { [P0] } {CORFUN [ FFT ] [LTC ] [P1] [NONORM] } { [DIRECT] [NLTC] [P2] } { } { [ INTEGRATE ] } {MANCOR [ INTEGRATE/SQUARE ] } { [ LOG ] } { [ SPECTRAL/DENSITY ] [NRESET] } { [ SQUARE ] } { [ SAVE integer ] } { [ ADD integer ] } { [ DIV integer ] } { [ NORM ] } { } {RESET }
This PLOT option plots the time-series, correlation function or spectral density. There is no specific option to request any of these. But the program prompted by this command always plots the result of the last manipulation operation other than PLOT itself. As the first manipulation command it will plot the time series.
The defaults are LP, PAGE, SAMPLE.
The MANTIME option takes the time series that is active and performs the operation requested by the option and leaves the resultant time series as the active time series. This helps in performing various permutations of manipulations to increase the options without increasing the number of option commands.
VECCOD
is set to 1).
The CORFUN option takes the active time series and calculates the desired correlation function from it.
The defaults are FFT, P0, LTC.
The MANCOR option takes the correlation function output from the CORFUN operation and performs the following operations.
CORFUN
. This allows to do multiple treatments with
MANCOR.
This RESET option resets the active time series to be the original time series.
Go to the previous, next section.