openmc.data.CoherentElastic

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

Coherent elastic scattering data from a crystalline material

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:group (h5py.Dataset) – HDF5 group to write to
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