mcps is a little program that will allow you to automatically
plot a section from a CCP4 map file using both a grayscale (actually, dithered monochrome) representation
and contour lines. This can be quite useful when the map contains significant fluctuations at high (or low) density,
making it difficult to decide whether a feature is a peak or valley (see this graph for a
comparison between the classical contour-line plot and the output from mcps in the case of a "difficult" map).
You can also view an electronic reprint (html) of an article that appeared in the
CCP4 Newsletter (March 2002).
Click here to download the compressed archive : mcps.tar.gz
(812 KBytes). The distribution includes documentation (manual page, html) and
pre-compiled executables suitable for Irix, Linux, OSF and solaris.
Once you downloaded the file, do :
This little program (in OpenGL) plots (and spins) the graph of
the following equation :
If a window pops-up showing a flower spinning around
everything is OK : have a look at the short documentation printed on your terminal and
enjoy. If you have the OpenGL and GLUT libraries, you can also get the
source code sph.c and try to compile it on your machine
(with something like cc sph.c -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm if
you have a Unix box).
If you have a Linux box, you can give it a try with this executable
(which uses quite a few shared libraries, so don't be surprised if it doesn't work on your machine).
If you are a proud owner of a Hewlett Packard HP48 calculator, you may be interested in
downloading the two short (system RPL) programs included in the file hp48.tar.gz
(compressed tar archive). The first program allows you to perform two-dimensional forward and inverse
geometric Fourier transforms (not FFT) and two-dimensional map plotting (see the
manual page for more details). The second program will allow you
(given a set of unit cell dimensions) to calculate the reciprocal unit cell dimensions and volume, and the
Bragg spacing corresponding to a given reflection.