g_filter_d (1) - Linux Manuals
g_filter_d: frequency filters trajectories, useful for making smooth movies
NAME
g_filter - frequency filters trajectories, useful for making smooth moviesSYNOPSIS
g_filter -f traj.xtc -s topol.tpr -n index.ndx -ol lowpass.xtc -oh highpass.xtc -[no]h -nice int -b time -e time -dt time -[no]w -nf int -[no]all -[no]nojump -[no]fitDESCRIPTION
g_filter performs frequency filtering on a trajectory. The filter shape is cos(pi t/A) + 1 from -A to +A, where A is given by the option -nf times the time step in the input trajectory. This filter reduces fluctuations with period A by 85%, with period 2*A by 50% and with period 3*A by 17% for low-pass filtering. Both a low-pass and high-pass filtered trajectory can be written.
Option -ol writes a low-pass filtered trajectory. A frame is written every nf input frames. This ratio of filter length and output interval ensures a good suppression of aliasing of high-frequency motion, which is useful for making smooth movies. Also averages of properties which are linear in the coordinates are preserved, since all input frames are weighted equally in the output. When all frames are needed, use the -all option.
Option -oh writes a high-pass filtered trajectory. The high-pass filtered coordinates are added to the coordinates from the structure file. When using high-pass filtering use -fit or make sure you use a trajectory which has been fitted on the coordinates in the structure file.
FILES
-f traj.xtc Input
-s topol.tpr
Input, Opt.
-n index.ndx
Input, Opt.
-ol lowpass.xtc
Output, Opt.
-oh highpass.xtc
Output, Opt.
-nice int 19
-b time 0
-e time 0
-dt time 0
-[no]wno
-nf int 10
-[no]allno
-[no]nojumpyes
OTHER OPTIONS
-[no]hno