concatenate_representations

astropy.coordinates.concatenate_representations(reps)[source]

Combine multiple representation objects into a single instance by concatenating the data in each component.

Currently, all of the input representations have to be the same type. This properly handles differential or velocity data, but all input objects must have the same differential object type as well.

Parameters:
repspython:sequence of BaseRepresentation

The objects to concatenate

Returns:
repBaseRepresentation subclass instance

A single representation object with its data set to the concatenation of all the elements of the input sequence of representations.