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:
reps : sequence of representation objects

The objects to concatenate

Returns:
rep : BaseRepresentation subclass

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