pyhs3.generic_parse.analyze_sympy_expr¶
- pyhs3.generic_parse.analyze_sympy_expr(sympy_expr)[source]¶
Analyzes a SymPy expression and logs its independent variables, dependent variables, and structure for debugging.
- Parameters:
sympy_expr (
Expr
) – The SymPy expression to analyze.- Returns:
‘expression’: The original expression
’independent_vars’: Set of independent variables (symbols)
’dependent_vars’: Set of dependent variables (functions)
- Return type:
Dictionary containing analysis results with keys