HighLevelWCSWrapper

class astropy.wcs.wcsapi.HighLevelWCSWrapper(low_level_wcs)[源代码]

基类:HighLevelWCSMixin

包装类可以接受任何 BaseLowLevelWCS 对象并公开高级WCS API。

属性摘要

array_shape 

array_shape

axis_correlation_matrix 

axis_correlation_matrix

low_level_wcs 

返回对底层低级别WCS对象的引用。

pixel_bounds 

pixel_bounds

pixel_n_dim 

world_n_dim

world_axis_physical_types 

world_axis_physical_types

world_axis_units 

world_axis_units

world_n_dim 

world_n_dim

方法总结

array_index_to_world(*index_arrays)

将阵列索引转换为世界坐标(由Astropy对象表示)。

pixel_to_world(*pixel_arrays)

将像素坐标转换为世界坐标(由高级对象表示)。

world_to_array_index(*world_objects)

将世界坐标(由天体对象表示)转换为数组索引。

world_to_pixel(*world_objects)

将世界坐标(由Astropy对象表示)转换为像素坐标。

属性文档

array_shape

array_shape

axis_correlation_matrix

axis_correlation_matrix

low_level_wcs
pixel_bounds

pixel_bounds

pixel_n_dim

world_n_dim

world_axis_physical_types

world_axis_physical_types

world_axis_units

world_axis_units

world_n_dim

world_n_dim

方法文件

array_index_to_world(*index_arrays)

将阵列索引转换为世界坐标(由Astropy对象表示)。

如果使用单个高级对象来表示世界坐标(例如,如果 len(wcs.world_axis_object_classes) == 1 ),则按原样返回(不在元组/列表中),否则返回高级对象的元组。看到了吗 array_index_to_world_values 用于像素索引和排序约定。

pixel_to_world(*pixel_arrays)

将像素坐标转换为世界坐标(由高级对象表示)。

如果使用单个高级对象来表示世界坐标(例如,如果 len(wcs.world_axis_object_classes) == 1 ),则按原样返回(不在元组/列表中),否则返回高级对象的元组。看到了吗 pixel_to_world_values 用于像素索引和排序约定。

world_to_array_index(*world_objects)

将世界坐标(由天体对象表示)转换为数组索引。

如果 pixel_n_dim1 ,此方法返回单个标量或数组,否则返回标量或数组的元组。看到了吗 world_to_array_index_values 用于像素索引和排序约定。索引应返回为四舍五入整数。

world_to_pixel(*world_objects)

将世界坐标(由Astropy对象表示)转换为像素坐标。

如果 pixel_n_dim1 ,此方法返回单个标量或数组,否则返回标量或数组的元组。看到了吗 world_to_pixel_values 用于像素索引和排序约定。