MoleCool.tools.dict2DF#

This module contains several functions as tools for converting the .json files with all the specific constants of a certain atom, molecule into pandas.DataFrames. These DataFrames will be imported in the class Levelsystem where one can have a look in a nice representation and also further customize them in a simple way.

So, to nicely print all properties and constants for e.g. 138BaF try:

levels = Levelsystem(load_constants='138BaF')
levels.add_all_levels(0)
levels.print_properties()

Functions

decomp_keylist(keylist)

del_item(keylist, dic)

filter_DF(DF, **QuNrs)

get_DataFrame(dic, name[, gs_exs, gs, exs])

get_QuNrs(keylist, dic)

get_keylist(name, dic)

get_levels(dic, gs_exs, **QuNrs)

get_pdMultiIndex(keylist, dic)

get_value(keylist, dic)

split_key(key)

MoleCool.tools.dict2DF.get_keylist(name, dic)[source]#
MoleCool.tools.dict2DF.del_item(keylist, dic)[source]#
MoleCool.tools.dict2DF.get_value(keylist, dic)[source]#
MoleCool.tools.dict2DF.split_key(key)[source]#
MoleCool.tools.dict2DF.decomp_keylist(keylist)[source]#
MoleCool.tools.dict2DF.get_QuNrs(keylist, dic)[source]#
MoleCool.tools.dict2DF.get_pdMultiIndex(keylist, dic)[source]#
MoleCool.tools.dict2DF.get_DataFrame(dic, name, gs_exs=None, gs=None, exs=None)[source]#
MoleCool.tools.dict2DF.filter_DF(DF, **QuNrs)[source]#
MoleCool.tools.dict2DF.get_levels(dic, gs_exs, **QuNrs)[source]#