Skip to content

Set unit after array.view(cls) operations

This PR improves a number of Array manipulation methods that rely on numpy.ndarray.view to cast to the output type. This operation loses all metadata, so we need to reset the unit explicitly because astropy doesn't do it for us.

Merge request reports