Data

curie.download(db='all', overwrite=False)[source]

Download nuclear data files as sqlite .db files.

This function can be used to either download or update the nuclear data files required by Curie. If you wish to update, or if the data files are corrupted, run ci.download(overwrite=True) to overwrite the existing data.

Parameters:
dbstr, optional

Name of database to download, default is ‘all’. Options include: ‘all’, ‘decay’, ‘ziegler’, ‘endf’, ‘tendl’, ‘tendl_n_rp’, ‘tendl_p_rp’, ‘tendl_d_rp’, ‘IRDFF’, ‘iaea_monitors’.

overwritebool, optional

If overwrite is True, will save write over existing data. Default is False.

Examples

The most common use case will be to (re)download all the data files

>>> ci.download(overwrite=True)

Some other use cases: To update only the ‘endf’ library

>>> ci.download('endf', True)

Or to download the ‘decay’ library for the first time

>>> ci.download('decay')