nook.nuclide

Nuclide identifiers: parsing, normalisation and ENSDF NUCID handling.

nook.nuclide.symbol_to_z(symbol)[source]

"Fe" -> 26. Case-insensitive.

nook.nuclide.z_to_symbol(z)[source]

26 -> "Fe".

class nook.nuclide.Nuclide(z, a)[source]

Bases: object

An immutable (Z, A) nuclide identifier.

z: int
a: int
property n: int
property symbol: str
classmethod parse(value)[source]

Accept "56Fe", "Fe-56", (26, 56) or a Nuclide.

nucid()[source]

The 5-character ENSDF NUCID, e.g. " 56FE".

classmethod from_nucid(nucid)[source]

Parse a 5-character ENSDF NUCID card field.

livechart_id()[source]

The identifier the IAEA Livechart API expects, e.g. "56fe".