Pepinsky's machine is a program aiming to help with the teaching of crystallographic Fourier transforms: Given a set of structure factor amplitudes for any centrosymmetric plane group, the program displays the amplitude-weighted reciprocal lattice plane and allows the user to interactively assign and modify the phases of the structure factors, while observing the effect of these changes on the corresponding electron density function (screenshot). See the documentation (1.1 MBytes) or the corresponding publication for more details.
Get the compressed archive pepinsky.tar.gz (3.1 MBytes). The distribution includes source code, documentation, example scripts, a couple of exercises and pre-compiled executables suitable for Irix, Linux, OSF and solaris. Get also this newer linux executable.
This little program (in OpenGL) plots (and spins) the graph of the following equation :
and it allows you to change the values of the parameters (A,B,C,D,E,F,G,H) while observing the effects of your changes. Download the linux executable (don't forget to chmod it) or the source code (sph.c) which you can compile with something in the spirit of cc sph.c -lglut -lGLU -lGL -lXext -lX11 -lm
Fourier for hp48
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.
plot is a small, simple and straightforward plotting program for GNU/Linux and MacOSX. Its main advantage is that you do not need to download half the sourceforge to use it. Actually, you should not do not need to download anything at all to use the provided executables.
plot can do simple x-y plots, can overlay two x-y plots, can draw histograms, can do scatter plots, and can draw contour or pseudo-color representations of your matrices (supporting bicubic interpolation for small matrices and plotting of both positive and negative contours).
Enough with that, let's get down to business: here are the screenshots and documentation. Get the compressed archive plot.tar.gz (2.2 MBytes). The distribution includes source code, documentation and pre-compiled executables suitable for Linux and MacOSX (i686 and ppc).
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).
Get 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.