high_level_objects_to_values#
- ndcube.utils.wcs_high_level_conversion.high_level_objects_to_values(*world_objects, low_level_wcs)[source]#
Deprecated since version 2.2.3: Please use astropy.wcs.wcsapi.high_level_api.high_level_objects_to_values
Convert the input high level object to low level values.
This function uses the information in
wcs.world_axis_object_classes
andwcs.world_axis_object_components
to convert the high level objects (such asSkyCoord
) to low level “values”Quantity
objects.This is used in
HighLevelWCSMixin.world_to_pixel
, but provided as a separate function for use in other places where needed.- Parameters:
*world_objects (object) – High level coordinate objects.
low_level_wcs (
BaseLowLevelWCS
) – The WCS object to use to interpret the coordinates.