Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

CI Coverage Status DOI

Bragg Edge Modeling

This python package provides tools to model and help analyze neutron Bragg Edge imaging data.

Main functionality: given lattice structure of a material and optionally a texture model and an instrument beam model, calculate neutron Bragg Edge spectrum as a function of neutron wavelength.


  • Calculation of basic Bragg Edge spectrum from crystal structure specification, assuming an isotropic powder sample, and accounting for various contributions to neutron scattering including, for example, diffraction and inelastic scattering (using incoherent approximation)
  • Modeling of texture:
    • March Dollase
  • Modeling of peak profile:
    • Jorgensen model
  • Flexible design to allow future extension to texture and peak profile models
  • Allow easy fitting to measured Bragg Edge data


Please refer to for documentation on installation, usage, and API.

Community guidelines

How to contribute

Please clone the repository, make changes and make a pull request.

How to report issues

Please use the github issues to report issues or bug reports.


Please either use the github issues to ask for support, or contact the authors directly using email.

Known problems

  • Debye temperatures are listed in a table, which is missing data for some elements. However, users can provide their own table in a configuration file.