openmc.data.CoherentElastic

class openmc.data.CoherentElastic(bragg_edges, factors)[source]

Coherent elastic scattering data from a crystalline material

The integrated cross section for coherent elastic scattering from a powdered crystalline material may be represented as:

\[\sigma(E,T) = \frac{1}{E} \sum\limits_{i=1}^{E_i < E} s_i(T) \]

where \(s_i(T)\) is proportional the structure factor in [eV-b] at the moderator temperature \(T\) in Kelvin.

Parameters:
  • bragg_edges (Iterable of float) – Bragg edge energies in eV
  • factors (Iterable of float) – Partial sum of structure factors, \(\sum\limits_{i=1}^{E_i<E} s_i\)
Variables:
  • bragg_edges (Iterable of float) – Bragg edge energies in eV
  • factors (Iterable of float) – Partial sum of structure factors, \(\sum\limits_{i=1}^{E_i<E} s_i\)
classmethod from_hdf5(dataset)[source]

Read coherent elastic scattering from an HDF5 dataset

Parameters:dataset (h5py.Dataset) – HDF5 dataset to read from
Returns:Coherent elastic scattering cross section
Return type:openmc.data.CoherentElastic
to_hdf5(group, name)[source]

Write coherent elastic scattering to an HDF5 group

Parameters:
  • group (h5py.Group) – HDF5 group to write to
  • name (str) – Name of the dataset to create