def METHOD_NAME(self):
    """Get a new image frame."""
    im_format_maxval_dict = {"8": 255, "16": 65535}
    im_format_type_dict = {"8": np.uint8, "16": np.uint16}
    bit_depth = self.frame_format.split("_")[1]
    time.sleep(self._wait)
    return np.array(
        im_format_maxval_dict[bit_depth] * np.random.rand(self.frame_height, self.frame_width),
        dtype=im_format_type_dict[bit_depth]
    )