Software for SAM85 operations

SAM85 is controlled by EPICS (Experimental Physics and Industrial Control System)

Individual modules run under either MEDM or IDL

All software listed runs on Windows

MCA (IDL)

    Collects data and saves spectra in ASCII data files.  Uses EPICS to access data.  Version of program used by GSECARS beamline at the APS.  Written by Mark Rivers

PLOT85 (instructions here, program below)

    For data collected after January 1, 2004, you must use Version 5.2.1a or later. Data plotting and analysis program.  Reads both old-style (SAM85 format) and EPICS MCA format data.  Performs energy and 2-theta calibrations.  Will handle both single and multiple detector data files.  Written by Ken Baldwin, with subroutines supplied by Larry Finger, Kurt Leinenweber, Robert Downs, and others. User version 7.0 or later for Vista computers.

Installation of PLOT85

Note: recent versions of Plot85 may have bugs.  To get a previous version, the filename will be something like plot85_7.2.0. Versions prior to 7.0 are in the folder Plot85_old

Get Plot85 (latest released version) here.

Get grfont.dat here (needed for complete installation).

Imaging software

Image processing is done using WinView32, a commercial product which must be purchased, and is fairly expensive. By default, at the beamline, images are saved in a proprietary format with the .SPE extension. These 16 bit images can be converted to 16 or 8 bit TIFF using WinView32 at the beamline. If you forget to convert them there, you can use the free IDL program here, called princeton_to_tiff_multi.sav. (Windows won't let you directly link to a file with a .sav extension, so I have called it princeton_to_tiff_multi.txt; when you connect to it, select "save as", and change the extension to .sav before you download it). To run it, you need to get the free IDL Virtual Machine. After you install the IDL Virtual Machine, simply double-click on the SAV file. It will open a navigation window with which you can browse to the location of your data (only .SPE files will show up). Select any or all of the files, and then go. In the conversion process, each pixel in the first image is searched for its minimum value, and that value subtracted from all the pixels. Then the maximum value is searched for and every pixel is scaled so that the maximum is 255. That insures that the image has the maximum contrast possible for that image. The image is then saved as a .TIF file, with the same name as the original .SPE file. This process is then repeated for all the images selected.

Obsolete Software

SAM85 (Obsolete - replaced by EPICS SAM85 program)

    FORTRAN-based program which controls SAM85 press, motors, heaters, etc.  Written by Ken Baldwin

Maktable

    Reads a series of MCA files created by the old SAM85 program.  It creates a table summarizing pressure, temperature, heater parameters, time, and text information for each data set.  Has not yet been modified to read MCA-created files.  Written by Michael Vaughan

Cell85

    A customized version of CelRf, which fits unit cell parameters to a series of diffraction lines.  Customized version reads .pks files created by PLOT85.  Original program written by Charles Prewitt, modified by Ken Baldwin.  Integrated into PLOT85.  Not ready as a stand-alone program yet (and this may never be done).

Last Revised: March 6, 2008