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.dtypeof an arbitrary object.Parameters: obj : object
Any object (but typically some kind of number or array).
Returns: dtype :
numpy.dtypeThe type of the given object.