Software library

 

Here some software useful for XAFS experiments are corrected. All the software have been written assuming to run on MS-DOS running in NEC PC9800 series personal computers. However, executable modules will run on PC/AT compatible personal computers on MS-DOS. Also they will run on other personal computers , workstations or main frame computers if you recompile the source files; they are written in (late) Microsoft FORTRAN. Actually we have some similar experiences.
In sometimes you have to modify the I/O for terminal or files. As we used READ(0,*) or WRITE(0,*) for standard I/O from keyboard and to CRT, whey should be corrected as WRITE(*,*) or WRITE(6,*) and READ(*,*) or READ(5,*) on the UNIX operating system.

You can use these software freely. If you find any bugs or troubles or if you improve them, please inform me so that any other users can get the information or revised software. Although care was taken on coding and making archives, there may be some missing files in the archives. If you notice any problem, please let me know.

Files are compressed by using WinZip. Each file contains source file(s), executable module, include file(s), and short instruction (sorry in Japanese). WinZip etc. is required to open the archive.

 

SAMPLEM

The program calculates the optimum thickness of a sample for transmission experiment by using the given atomic composition and absorption coefficients listed in the McMaster's table.

(NOTE) Name of atoms should be written in two capitals and the composition should be written in real number such as CU0.5 for 50 atomic % Cu, O(space)0.11 for11 atomic % O. Atomic composition should be used. If you don't know the density of it, use 1. The multiple of density and thickness will be useful for preparing samples.

 

CORDT3U

This program corrects the counting-loss occurred in the multi-element SSD at BL-12C. The algorithm of correction is written in M.Nomura, "Design and performance of a multi-element SSD for fluorescent XAFS", KEK Report 98-4 (1998). 

(NOTE) You have to indicate the file to open in the OPEN statement. We didn't make any statement to define the file for the sake of versatility. Executable module compiled by Microsoft FORTRAN asks the file name when the opening file is not defined in OPEN statement. Thus you should indicate the path and the file name. However, I am not sure if other FORTRAN compilers respond similarly or not. If not please add statements to define the file to open.

 

FMTCNV

This program converts the data between the following formats; new standard XAFS data format(MDHX02, now used at BL-12C, 9A and 10B), old standard XAFS data formats(HX6814, still used at BL-7C and 10B), old multi-SSD format (MDHX01) and Rex one (Rigaku corp.). By converting to the new MDHX02 format it becomes easier to use plotting tools etc. If other formats are required please let me know.

DXAFS_FileDivider

This program can divide a set of  DXAFS experimental data obtained with a photodiode array (PDA) detector at NW2A of PF-AR into single data and converts the unit from channel of PDA to energy of X-ray, simultaneously. The divided data are saved as three types of file format (selectable) in newly created folder.
coded by Mr. Y. Niwa

July 17, 2010, Aug. 27, 1999

 

Masaharu.nomura@kek.jp