next up previous contents index
Next: EZD_draw Up: Utilities Previous: RSC_fit

EZD_map

   

ezd_map [keyword data](i)

This is a formatted electron density file. The keywords define the origin, extent, grid, cell constants, scaling, and the density. The order is not important, but the values must be on the same line, except for the density data. The density is read/written by a block matrix operation

 
(((ed(i,j,k),i=1,nx),j=1,ny),k=1,nz)

with 7 density values on a line. The density is divided by the scale constant. Since the denity file includes the O keyword, this command is always actived as if the file were a macro:

 
%  cat chop.ezd 
EZD_map
! Created by ODALISQUE V-920917/2.5
! At Mon Sep 21 13:21:16 1992
CELL 40.090 47.390 69.340 90.000 90.000 90.000
ORIGIN 42 -21 -11
EXTENT 33 27 17
GRID 80 80 80
SCALE 1000.000
MAP
35. -122. -293. -340. -245. -138. -135.
-210. -248. -175. -26. 108. 162. 124.
16. -123. -244. -289. -215. -43. 131.
200. 126. -36. -202. -311. -322. -210.
....
....
-426. -73. 486. 779. 483. -208. -687.
-504. 160. 666. 600. 218. 127. 557.
1074. 1081. 487. -223. -556. -472. -273.
-169. -112. -18. 30. -107. -380.
END

In O, this map would be read in

 
O >  @chop.ezd