arc.calculations_atom_pairstate.PairStateInteractions.loadAngularChannelData#
- PairStateInteractions.loadAngularChannelData(atom1Vals, atom2Vals, stateHopping=False, loadFromZenodo=False)[source]#
Checks if the precalculated angular channel values exist in the local cache.
If yes, returns the data.
- If not, checks on Zenodo () if bulk data exists,
if yes loads datafile and saves it locally, then returns the data.
if not, output prompt to user explainaing how to calculate the requested dataset with the
saveAngularChannelDatafunction.
- Parameters:
atom1Vals (list) - [l1, j1, s1, atom1Type (ARC, e.g. Rubidium())
atom2Vals (list) - [l2, j2, s2, atom2Type (ARC, e.g. Rubidium())
stateHopping (bool) - whether or not the final state is interchanged ('hopped') – w.r.t. the initial state
loadFromZenodo (bool) – If True then this will overwrite locally existing data for the specified pair state with data from Zenodo if exists If False but no local data exists, then checks Zenodo if data exists there and loads if True
- Output:
metadata (dict) - file calculation infos (atom infos, calculation settings) coupledChannels (list) - list of coupled channels, in same order as in data data (ndarray) - list of angular channel values of the form: [n1, n2, C_lj1, C_lj2, …] with C_lj the channel values