g_densmap_d (1) - Linux Manuals
g_densmap_d: calculates 2D planar or axial-radial density maps
NAME
g_densmap - calculates 2D planar or axial-radial density mapsSYNOPSIS
g_densmap -f traj.xtc -s topol.tpr -n index.ndx -o densmap.xpm -[no]h -nice int -b time -e time -dt time -[no]w -bin real -aver enum -xmin real -xmax real -n1 int -n2 int -amax real -rmax real -[no]mirror -unit enum -dmin real -dmax realDESCRIPTION
g_densmap computes 2D number-density maps. It can make planar and axial-radial density maps. The output .xpm file can be visualized with for instance xv and can be converted to postscript with xpm2ps.
The default analysis is a 2-D number-density map for a selected group of atoms in the x-y plane. The averaging direction can be changed with the option -aver. When -xmin and/or -xmax are set only atoms that are within the limit(s) in the averaging direction are taken into account. The grid spacing is set with the option -bin. When -n1 or -n2 is non-zero, the grid size is set by this option. Box size fluctuations are properly taken into account.
When options -amax and -rmax are set, an axial-radial number-density map is made. Three groups should be supplied, the centers of mass of the first two groups define the axis, the third defines the analysis group. The axial direction goes from -amax to +amax, where the center is defined as the midpoint between the centers of mass and the positive direction goes from the first to the second center of mass. The radial direction goes from 0 to rmax or from -rmax to +rmax when the -mirror option has been set.
The normalization of the output is set with the -unit option. The default produces a true number density. Unit nm-2 leaves out the normalization for the averaging or the angular direction. Option count produces the count for each grid cell. When you do not want the scale in the output to go from zero to the maximum density, you can set the maximum with the option -dmax.
FILES
-f traj.xtc Input
-s topol.tpr
Input, Opt.
-n index.ndx
Input, Opt.
-o densmap.xpm
Output
-nice int 19
-b time 0
-e time 0
-dt time 0
-[no]wno
-bin real 0.02
-aver enum z
-xmin real -1
-xmax real -1
-n1 int 0
-n2 int 0
-amax real 0
-rmax real 0
-[no]mirrorno
-unit enum nm-3
-dmin real 0
-dmax real 0
OTHER OPTIONS
-[no]hno