h5analysis.util

Various utility functions for plain python operations

Functions

check_key_in_dict(key, dic)

Checks if a specific key is in a dictionary

clean_beamline_info_dict(columns)

Removes lists from dictionary values and reports first entry

get_emission_line(element, siegbahn_symbol)

Get the emission energy of a transition given a specific element and Siegbahn symbol

invert_dict(my_map)

Inverts a dictionary to value->key