nook.sources.livechart

IAEA Livechart backend.

Serves adopted levels, gammas and ground-state properties as CSV. The easiest route in, at the cost of seeing only the adopted dataset – for reaction datasets use nook.sources.ensdf_file.

Columns are resolved through an alias table rather than by position: the API has grown columns over time and the two endpoints spell shared ones differently. Unrecognised columns survive on .raw.

exception nook.sources.livechart.LivechartError[source]

Bases: RuntimeError

Raised when the Livechart service refuses or cannot answer a query.

class nook.sources.livechart.LivechartSource(base_url='https://nds.iaea.org/relnsd/v1/data', cache=None, timeout=30.0, opener=None)[source]

Bases: object

Pull level schemes from the IAEA Livechart data API.

name = 'iaea-livechart'
levels(nuclide)[source]
gammas(nuclide)[source]
ground_state(nuclide)[source]

Masses, abundance, radius and moments for one nuclide.

These come from the compilations Livechart aggregates alongside ENSDF – the atomic mass evaluation, NUBASE, the charge-radius tables and the moment tables – not from ENSDF itself. See EVALUATIONS.

fetch(nuclide, with_gammas=True)[source]