Neutron Scattering Lengths – pyne.dbgen.scattering_lengths

This module provides a way to grab and store raw data for neutron scattering lengths. This data comes from Neutron News, Vol. 3, No. 3, 1992, pp. 29-37 via a NIST webpage (http://www.ncnr.nist.gov/resources/n-lengths/list.html). Please contact Alan Munter, <alan.munter@nist.gov> for more information.

All functionality may be found in the scattering_lengths module:

from pyne.dbgen import scattering_lengths

Scattering Length API

This module provides a way to grab and store raw data for neutron scattering lengths. This data comes from Neutron News, Vol. 3, No. 3, 1992, pp. 29-37 via a NIST webpage (http://www.ncnr.nist.gov/resources/n-lengths/list.html). Please contact Alan Munter, <alan.munter@nist.gov> for more information.

pyne.dbgen.scattering_lengths.grab_scattering_lengths(build_dir='', file_out='scattering_lengths.html')[source]

Grabs the scattering cross-section lengths for neutrons from the NIST website or locally from this module.

pyne.dbgen.scattering_lengths.make_scattering_lengths(args)[source]

Controller function for adding scattering lengths.

pyne.dbgen.scattering_lengths.make_scattering_lengths_table(nuc_data, build_dir='')[source]

Adds the neutron sacttering lengths to the nuc_data library.

Parameters:

nuc_data : str

Path to nuclide data file.

build_dir : str

Directory to place html files in.

pyne.dbgen.scattering_lengths.nist_num(nist_data)[source]

Converts a NIST style data point to a point.

Parameters:

nist_data : str

A nist data point.

Returns:

d : float or complex

a data point.

pyne.dbgen.scattering_lengths.parse_scattering_lengths(build_dir)[source]

Converts to scattering lenth data to a numpy array.