Adxv can be used to display and analyze 2-D area detector
data. It is optimized to display X-Ray crystallography diffraction
The data may be displayed as a 1-D cross section, 2-D image
or 3-D surface. Sequential images may be displayed as an animation. The
magnification, contrast and color mapping are adjustable. Displayed data
may be saved in a variety of formats including ASCII, SMV/IMG, TIFF,
JPEG and Postscript.
Adxv will run on most versions of Linux and OSX. It is based on X11/Motif
so an X-server is required. It will run on Windows if the Cygwin libraries
and X-server have been installed.
Many common detector and data formats are recognized, including:
|-autoload||Automatically load images specified in $XFORMSTATUSFILE||-beam_center X Y||Beam Center (mm)||-distance X||Distance (mm)||-flip H/V||Flip image about a Horizontal or Vertical axis||-gl||Use OpenGL for 3-D display||-int||File is binary signed int's||-no_adxv_beam_center||Do not read or write the .adxv_beam_center file||-nx N||Number of pixels in horizontal direction||-ny N||Number of pixels in vertical direction||-overload N||Pixel overload value||-pixelsize X||Pixelsize (mm)||-rotate N||Rotate image 90, 180 or 270 degrees||-short||File is binary signed short's||-skip N||Skip N bytes before reading binary data||-twotheta X||2-Theta (degrees)||-ushort||File is binary unsigned short's||-wavelength X||Wavelength (angstroms)|
adxv nnos6_1_001.imgUse OpenGL for the 3-D display:
Display 1152x1152 binary unsigned short data, skip 2048 byte header and swap bytes:
adxv -ushort -nx 1152 -ny 1152 -skip 2048 -swap
Display .img file and denzo predictions:
adxv nnos6_1_001.img nnos6_1_001.x
Print usage and help information:
More documentation is available under the "Help" pulldown in the Adxv Control window and in the manual.
No, it is free for anyone to use.
You can download all the fonts Adxv needs from fonts.tar.gz
Put this file in a directory (i.e. /usr/share/adxvfonts/) and type:
gunzip --stdout fonts.tar.gz | tar xvf -Then run Adxv with the font path option:
adxv -fp /usr/share/adxvfontsNote that this directory must be located on the X server.
chmod +x ./adxv
This is a bug in NX and should be fixed in newer versions
of the NX server.
Try typing Ctrl + Alt + E to toggle lazy encoding.
Depending on the version of NX you have try adding adding one of the following options on the machine which is running the nxserver:
/usr/NX/etc/node.cfgIf this doesn't work try setting the Link Type to "LAN". This may be slower, but may also work.
If you install cygwin (http://www.cygwin.com/) and the x-server
you can run Adxv. Adxv was compiled under Windows 8.
This will also run under Windows 7, but only if you install the 32-bit version of cygwin.
Thanks to Dr. Ilya Frantsuzov for this feedback.
On OSX 10.10 (Yosemite) the X11 libraries were moved from /usr/X11
to /opt/X11. You can make a symbolic link from /opt/X11 to /usr/X11:
ln -s /opt/X11 /usr/X11
Run the "arch" command. If it prints x86_64, download
one of these, otherwise try the i686 versions. There are many different flavors and
versions of linux. If none of the binaries here will run on
your system, let me know.
adxv.x86_64CentOS6X11 + GL:
adxv.x86_64CentOS6_glThe GL versions are compiled with OpenGL and require this to be installed for dynamic linking with libGL. This is only needed if Adxv is started with the -gl command line option. If you're not sure, download the X11 only version.