concatenate

astropy.coordinates.concatenate(coords)[source]

Combine multiple coordinate objects into a single SkyCoord.

“Coordinate objects” here mean frame objects with data, SkyCoord, or representation objects. Currently, they must all be in the same frame, but in a future version this may be relaxed to allow inhomogenous sequences of objects.

Parameters
coordssequence of coordinate objects

The objects to concatenate

Returns
cskycoordSkyCoord

A single sky coordinate with its data set to the concatenation of all the elements in coords