Escolar Documentos
Profissional Documentos
Cultura Documentos
COMPUTER PROGRAMS
PDFFIT, a program for full prole structural renement of the atomic pair distribution function
Th. Proffen* and S. J. L. Billinge at Department of Physics and Astronomy and Center for Fundamental Materials Research,
Michigan State University, East Lansing, Michigan 48824-1116, USA. E-mail: proffen@pa.msu.edu
(Received 25 February 1999; accepted 2 March 1999 )
Abstract
The program PDFFIT is designed for the full prole structural
renement of the atomic pair distribution function (PDF). In
contrast to conventional structure renement based on Bragg
intensities, the PDF probes the local structure of the studied
material. The program presented here allows the renement of
atomic positions, anisotropic thermal parameters and site
occupancies as well as lattice parameters and experimental
factors. By selecting individual atom types one can calculate
partial and differential PDFs in addition to the total PDF.
Furthermore one can rene multiple data sets and/or multiple
structural phases. The program is controlled by a command
language which includes a Fortran style interpreter supporting
loops and conditional statements. This command language is
also used to dene the relation between renement parameters
and structural or experimental information, allowing virtually
any constraint to be implemented in the model. PDFFIT is
written in Fortran-77, and the source code and documentation
are available via the World Wide Web.
1. Introduction
The determination of crystal structures is an important part of
chemistry, physics and, of course, crystallography. Conventional structure determination is based on the analysis of the
intensities and positions of Bragg reections which only allows
the determination of the long-range average structure of the
crystal. For powder diffraction data this is now routinely
performed using the Rietveld (Rietveld, 1969) method. It
should be kept in mind that the analysis of Bragg scattering
assumes a perfect long-range periodicity of the crystal.
However, many materials are quite disordered and, even more
important, the key to a deeper understanding of their properties is the study of deviations from the average structure or
the study of the local atomic arrangements (Billinge, 1996).
Deviations from the average structure result in the occurrence
of diffuse scattering which contains information about twobody interactions (Welberry & Butler, 1995; Frey, 1995). One
method to reveal the local structure of crystals is the analysis of
the PDF. This method is long known in the eld of studies of
short-range order in liquids and glasses but has recently been
applied to crystalline materials (Egami, 1998; Toby & Egami,
1992; Billinge & Egami, 1993). The PDF is obtained from the
powder diffraction data via a sine Fourier transform of the
normalized scattering intensity SQ:
Gr 4rr 0
Z1
2=
QSQ 1 sinQrdQ;
where the sum goes over all pairs of atoms i and j within the
model crystal separated by rij. The scattering power of atom i is
bi and hbi is the average scattering power of the sample. In the
case of neutron scattering bi is simply the scattering length, in
the case of X-rays it is the atomic form factor evaluated at a
user-dened value of Q. The default value is Q 0 in which
case bi is simply the number of electrons of atom i. The
program PDFFIT also allows the user to select which atom
types shall be included in the sums over i and j in (2) which
allows one to calculate or rene the total PDF as well as partial
or differential PDFs.
Generally, there are two different ways to account for
displacements (either thermal or static) from the average
position. First one can use a large enough model containing the
Journal of Applied Crystallography
ISSN 0021-8898 # 1999
COMPUTER PROGRAMS
desired displacements and perform an ensemble average. This
is the method used by the program DISCUS where thermal
displacements can be introduced by displacing atoms in the
model according to a given (isotropic) DebyeWaller factor.
Alternatively, one can convolute each delta-function in (2)
with a Gaussian accounting for the displacements. The width
ij0 of the Gaussian is given by the anisotropic thermal factors
Ulm hul um i of atoms i and j. Furthermore, the actual width ij
shows the r-dependence given below (Jeong et al., 1998):
ij ij0 p =r2ij
with rij being the separation distance of the atoms i and j. The
program PDFFIT offers the user the additional feature to
reduce the width of PDF peaks below a given value of rcut by
some factor '. Both values, and ', can be rened. For more
details, refer to the users guide that is provided with the
program.
As we have seen in the Introduction, the experimental PDF
is obtained by a Fourier transform of the reduced structure
factor. However, the accessible range in Q is limited by a
maximum measurable value Qmax. This can be described by a
multiplication of the structure factor up to innity with a step
function cutting off at Q Qmax , resulting in the convolution
of the PDF with the Fourier transform of the step function,
Sr. PDFFIT models the nite Q-range by convoluting the
model PDF Gc r with
Sr sinQmax r=r:
Fig. 1. Calculated PDFs for nickel at different values of Qmax. The solid
1 and the dotted line to
line corresponds to Qmax 25 A
1 .
Qmax 35 A
573
574
COMPUTER PROGRAMS
Table 1. PDFFIT reneable parameters
Structural
lat[1..6]
delt[p]
srat[p]
csca[p]
Per atom
x[n]
y[n]
z[n]
o[n]
u[1..6,n]
Experimental
dsca[s]
qsig[s]
Fig. 3. Example input le for the renement of PDF data from nickel.
COMPUTER PROGRAMS
that we have four Ni sites in our model and, rather than typing
the denitions for each atom separately, we are using a loop.
The variable n[1] contains the number of sites. In our example
we only rene an isotropic temperature factor, so we use the
same parameter for U11 ; U22 and U33 stored in u[1,n],
u[2,n] and u[3,n]. Next we associate individual renement
parameters with the scale factor fp (line 15), the resolution
factor Q (line 16) and the dynamic correlation factor
(line 17). Note that there is no need for a consecutive
numbering of the parameters. Finally, we need to initialize the
renement parameters p[i] with suitable starting values; this
is performed in lines 1924. Last we dene the r-range we want
.
to use for the renement (line 26), here from 0.5 to 13.0 A
Finally, the renement is started using the command run
(line 27). After the renement has (hopefully) converged, we
have to save the resulting PDF, the difference between
observed and calculated PDF, the resulting structure and t
result (lines 2832). A view graph of the results created using
the program KUPLOT can be seen in Fig. 4.
This quite simple renement was used to demonstrate the
basic usage of PDFFIT. Additional examples can be found in
the documentation accompanying the program. A recent
application of PDFFIT is a study of the local JahnTeller
distortion in LaMnO3 (Proffen et al., 1999).
575
Fig. 4. Result of the PDF renement of nickel. The solid line is the
calculated PDF, the lled circles are the data. A difference curve is
plotted below the data.