values_to_high_level_objects#

astropy.wcs.wcsapi.values_to_high_level_objects(*world_values, low_level_wcs)[source]#

Convert low level values into high level objects.

This function uses the information in wcs.world_axis_object_classes and wcs.world_axis_object_components to convert low level “values” Quantity objects, to high level objects (such as SkyCoord).

This is used in HighLevelWCSMixin.pixel_to_world, but provided as a separate function for use in other places where needed.

Parameters:
*world_values: object

Low level, “values” representations of the world coordinates.

low_level_wcs: `.BaseLowLevelWCS`

The WCS object to use to interpret the coordinates.