Skip to content

Added overloaded array methods for flatten and transpose

Duncan Macleod requested to merge github/fork/duncanmmacleod/array-flatten into develop

This PR adds two new overloaded methods:

  • gwpy.types.Array.flatten - returns a basic Quantity array, rather than the input subclass
  • gwpy.types.Array2D.T (transpose property) - properly formats index arrays and units

Merge request reports