code: def from_array(cls, array, name=None, log_in_history=True):
          
          image = array.view(cls)
          event = 'Created image from array'
          if name:
              event = '{} as {}'.format(event, name)
          if log_in_history:
              image.history.append(event)
          return image
docs: Return :class:`jicimagelib.image.Image` instance from an array.
          
          :param array: :class:`numpy.ndarray`
          :param name: name of the image
          :param log_in_history: whether or not to log the creation event
                                 in the image's history
          :returns: :class:`jicimagelib.image.Image`