code: def _get_data_dtype(self, frame):
      dtcode = self.subheaders[frame]["data_type"].item()
      return self._data_type_codes.dtype[dtcode]
  
imports: import warnings
  from numbers import Integral
  import numpy
  from .arraywriters import make_array_writer
  from .fileslice import canonical_slicers, predict_shape, slice2outax
  from .spatialimages import SpatialHeader, SpatialImage
  from .volumeutils import array_from_file, make_dt_codes, native_code, swapped_code
  from .wrapstruct import WrapStruct
label_desc: Use image node_id 7 for calling the EcatSubHeader obj's underlying member method code with example usage: obj._get_data_dtype(frame) and returns: self