get_dtype function

(Shortest import: from brian2.core.variables import get_dtype)

brian2.core.variables.get_dtype(obj)[source]

Helper function to return the numpy.dtype of an arbitrary object.