code: def profile_entropy(hist):
      h = hist.bin_entries()
      h = h / h.sum()
      return -(h * np.ma.log(h)).sum()
  
file_path: popmon/popmon/analysis/profiling/profiles.py
imports: import numpy
  from popmon.analysis.hist_numpy import get_2dgrid
  from popmon.base.registry import Registry
  from popmon.hist.hist_utils import sum_entries
  from popmon.stats import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: profile_entropy(hist) and returns: unknown