![]() |
TkN 2.5
Toolkit for Nuclei
|
mass_excess) is now sourced exclusively from the IAEA AME CSV file (groundstates.csv), and no longer from the NuDat JSON.tkn-create returns a clear error if the IAEA CSV is missing.groundstates.csv is now bundled in the TkN installation (via CMake install rule) as a fallback when the network is unavailable.DATASET table and accessible through the C++ API:dataset_date (YYYY-MM format): publication date of the dataset, extracted from the ENSDF identification record (fdate field).tkdataset::get_date() — returns the date stringtkdataset::has_date() — returns true if a date is availabledataset_source ("ENSDF" or "XUNDL"): identifies the database of origin.tkdataset::get_source() — returns the source stringtkdataset::is_xundl() — returns true if the dataset comes from XUNDLprint("dataset") now displays datasets in two clearly separated sections: ENSDF and XUNDL."com" option is passed.get_levels() and get_decays() accepting a lambda predicate for filtered access: Gamma decay:, Beta decay:).--nucleus / -n: specify the nucleus directly as a named option (in addition to the existing positional argument).--dataset-comment: print the comment associated with a specific dataset (by ID).--datasets is now accepted as an alias for --show-datasets.tknucleus::get_element_name() was always returning an empty string. The tkmanager loader was reading from a non-existent DB column "name" instead of the correct "element_name" column of the ELEMENT table.