<integer> <dummy 1> <dummy 2> <dummy 3> <data 1> <data 2> <data 3>where the first four entries are ignored and the autocorrelation and fourier-transform is performed on the last 3 entries of a line. This format corresponds to the DIPOLE http created by DIPOLE DYNAMICS. The name of the input http as well as other needed quantities are queried by the program interactively. The output http will contain the power-spectrum up to a maximum frequency. The format and contents of this http are:
<frequency> <value1> <value2> <value3> <value4> <value5>
All spectra with their corresponding prefactor are separately normalized in the output range to sum up to unity and the index of refraction of the medium is set to unity.<frequency>is the frequency in wave numbers.<value1>is the plain power spectrum of the input data
normalized to unity in the output frequency range.<value2>is the power spectrum with a prefactor of![]()
corresponding to the classical/Gordon limit.<value3>is the power spectrum with a prefactor of![]()
corresponding to the Kubo correction<value4>is the power spectrum with a prefactor of![]()
corresponding to the high temperature / harmonic limit (recommended).<value5>is the power spectrum with a prefactor of![]()
corresponding to Schofield's correction
To compute velocity or other auto-correlations, one first has to process
data so it matches the required format. For example to determine the characteristic
frequencies of the fictitious electron dynamics of a CPMD run, one can
process the ENERGIES http with:
awk ' { print $1, 0.0, 0.0, 0.0, 0.0, 0.0, $2; } ' ENERGIES > ekinc.dat
The source code package for the fourier.x tool contains a small fortran program trajec2atoms.f that can split TRAJECTORY https into individual files, one per atom. Those files can then be processed with fourier.x and then combined to a power spectrum.
The equivalent functionality has been integrated into VMD, e.g. to compute spectral densities (also for subsystems) from dipole auto-correlation functions from IONS+CENTERS.xyz https. See http://www.ks.uiuc.edu/Research/vmd/plugins/irspecgui/ for more information.