xoa.sigma.decode_formula_terms
- xoa.sigma.decode_formula_terms(attr)[source]
Parse the formula_terms attribute
- Parameters:
attr (str) – Attribute value
- Returns:
dict
Example
In [1]: decode_formula_terms( ...: 's: sc_r C: Cs_r eta: zeta depth: h depth_c: hc') ...: Out[1]: {'s': 'sc_r', 'C': 'Cs_r', 'eta': 'zeta', 'depth': 'h', 'depth_c': 'hc'}