code: def get_array(self, order, dtype=None):
          
          if dtype is None:
              dtype = self.rgbarr.dtype
          order = order.upper()
          if order == self.order:
              return self.rgbarr.astype(dtype, copy=False)
  
          res = trcalc.reorder_image(order, self.rgbarr, self.order)
          res = res.astype(dtype, copy=False, casting='unsafe')
          return res
docs: Get Numpy array that represents the RGB layers.
  
          Parameters
          ----------
          order : str
              The desired order of RGB color layers.
  
          Returns
          -------
          arr : ndarray
              Numpy array that represents the RGB layers.
  
          dtype : numpy array dtype (optional)
              Type of the numpy array desired.