code: def flatten(self, order='C'):
          
          return super(Array, self).flatten(order=order).view(Quantity)
docs: Return a copy of the array collapsed into one dimension.
  
          Any index information is removed as part of the flattening,
          and the result is returned as a `~astropy.units.Quantity` array.
  
          Parameters
          ----------
          order : {'C', 'F', 'A', 'K'}, optional
              'C' means to flatten in row-major (C-style) order.
              'F' means to flatten in column-major (Fortran-
              style) order. 'A' means to flatten in column-major
              order if `a` is Fortran *contiguous* in memory,
              row-major order otherwise. 'K' means to flatten
              `a` in the order the elements occur in memory.
              The default is 'C'.
  
          Returns
          -------
          y : `~astropy.units.Quantity`
              A copy of the input array, flattened to one dimension.
  
          See Also
          --------
          ravel : Return a flattened array.
          flat : A 1-D flat iterator over the array.
  
          Examples
          --------
          >>> a = Array([[1,2], [3,4]], unit='m', name='Test')
          >>> a.flatten()
          <Quantity [1., 2., 3., 4.] m>