ProfileSimulation#
- class diffsims.sims.diffraction_simulation.ProfileSimulation(magnitudes, intensities, hkls)[source]#
Bases:
objectHolds the result of a given kinematic simulation of a diffraction profile.
- Parameters:
- magnitudesarray_like,
shape[n_peaks, 1] Magnitudes of scattering vectors.
- intensitiesarray_like,
shape[n_peaks, 1] The kinematic intensity of the diffraction peaks.
- hkls[{(
h,k,l):mult}] {(h,k,l):mult}isadictofMiller indices for all diffracted lattice facets contributing to each intensity.
- magnitudesarray_like,
Methods
ProfileSimulation.get_plot([annotate_peaks, ...])Plots the diffraction profile simulation for the