check_dimensions function

(Shortest import: from brian2.equations.unitcheck import check_dimensions)

brian2.equations.unitcheck.check_dimensions(expression, dimensions, variables)[source]

Compares the physical dimensions of an expression to expected dimensions in a given namespace.