calculate_profile_data#

DiffractionGenerator.calculate_profile_data(structure, reciprocal_radius=1.0, minimum_intensity=0.001, debye_waller_factors={})[source]#

Calculates a one dimensional diffraction profile for a structure.

Parameters:
structurediffpy.structure.structure.Structure

The structure for which to calculate the diffraction profile.

reciprocal_radiusfloat

The maximum radius of the sphere of reciprocal space to sample, in reciprocal angstroms.

minimum_intensityfloat

The minimum intensity required for a diffraction peak to be considered real. Deals with numerical precision issues.

debye_waller_factorsdict of str:value pairs

Maps element names to their temperature-dependent Debye-Waller factors.

Returns:
diffsims.sims.diffraction_simulation.ProfileSimulation

The diffraction profile corresponding to this structure and experimental conditions.