ophyd_async.core.get_dtype# ophyd_async.core.get_dtype(typ: Type) → dtype | None[source]# Get the runtime dtype from a numpy ndarray type annotation >>> import numpy.typing as npt >>> import numpy as np >>> get_dtype(npt.NDArray[np.int8]) dtype('int8')