The waasmaier module provides an interface to the energy-independent atomic form factors, as calculated by D. Waasmaier and A. Kirfel in Acta. Cryst. vA51, p416 (1995). The calculations take the form
This approximation is valid for , or
.
Atomic form factors accessed using atomic_data:
>>> from praxes.physref.waasmaier import atomic_data
>>> import quantities as pq
>>> f0 = atomic_data['O']
>>> print f0(0 * 1/pq.angstrom)
7.99706
>>> print f0([0,1,2] * 1/pq.angstrom)
array([ 7.999706 , 7.50602869, 6.31826029])
>>> f0 = atomic_data['O2-']
>>> print f0(0* 1/pq.angstrom)
9.998401
Return the value for key, or return default
Return a new view of the (key, value) pairs
return a new view of the keys
return a new view of the values
FormFactor instances are callable to calculate the energy-independent form factors. They should be called with a Quantity in units of 1/length.