code: def _image_data(self):
          
          return (self._data * (float(BINARY_IM_MAX_VAL) / MAX_IR)).astype(np.uint8)
docs: Returns the data in image format, with scaling and conversion to uint8 types.
  
          Returns
          -------
          :obj:`numpy.ndarray` of uint8
              A 3D matrix representing the image. The first dimension is rows, the
              second is columns, and the third is simply the IR entry scaled to between 0 and BINARY_IM_MAX_VAL.