values_to_high_level_objects#
- ndcube.utils.wcs_high_level_conversion.values_to_high_level_objects(*world_values, low_level_wcs)[source]#
Deprecated since version 2.2.3: Please use astropy.wcs.wcsapi.high_level_api.values_to_high_level_objects
Convert low level values into high level objects.
This function uses the information in
wcs.world_axis_object_classesandwcs.world_axis_object_componentsto convert low level “values”Quantityobjects, to high level objects (such asSkyCoord).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.