split_expression function

(Shortest import: from brian2.stateupdaters.explicit import split_expression)

brian2.stateupdaters.explicit.split_expression(expr)[source]

Split an expression into a part containing the function f and another one containing the function g. Returns a tuple of the two expressions (as sympy expressions).