'For no real reason this function is separated from
sympy_expression_namespace. It can be moved to it.'

@staticmethod
def sympy_atoms_namespace(expr):

    atoms = expr.atoms(Symbol, NumberSymbol, I, zoo, oo)
    d = {}
    for a in atoms:
        d[str(a)] = a
    return d
