\(\renewcommand\AA{\unicode{x212B}}\)

PawleyFunction

Description

The basic principle of fitting unit cell parameters to a complete powder diffraction pattern has been described by Pawley. Instead allowing each peak to have a freely selectable position, these positions are calculated as a result from the unit cell parameters. All other parameters of the peaks are refined independently. The implementation of the function differs from the method described in the paper in some points, for example the number of parameters can not change during the refinement (no reflections will be added or removed).

Since the function requires special setup (assignment of HKLs, selection of lattice system and profile function), there is an algorithm that can perform a Pawley-type fit with different input data. Please see the documentation of PawleyFit v1 for details on how to use it.

Attributes (non-fitting parameters)

Name Type Default Description
NumDeriv      
f0.LatticeSystem      
f0.ProfileFunction      
f1.NumDeriv      

Properties (fitting parameters)

Name Default Description
f0.a 1.0  
f0.b 1.0  
f0.c 1.0  
f0.Alpha 90.0  
f0.Beta 90.0  
f0.Gamma 90.0  
f0.ZeroShift 0.0  

Categories: FitFunctions | General

Source

C++ header: PawleyFunction.h (last modified: 2021-03-31)

C++ source: PawleyFunction.cpp (last modified: 2021-05-05)