SkyOffsetFrame

class astropy.coordinates.SkyOffsetFrame(*args, **kwargs)[源代码]

基类:BaseCoordinateFrame

一种相对于某一特定位置的框架,其方向与框架相匹配。

SkyOffsetFrames的球面坐标始终具有组件名称 lon/latnot 框架的组件名称 origin .

这对于计算天空帧中相对于任意位置的偏移和抖动非常有用。此框架中的坐标都位于 origin 协调, and 它们的定向方式与 origin 框架。E、 g.,如果 originICRS ,此对象的 lat 将指向Dec方向,而 lon 将指向RA方向。

有关天偏移框的详细信息,请参见 astropy:astropy-skyoffset-frames

参数
代表BaseRepresentation 或无基本表示或无

表示对象或无表示对象没有数据(或使用其他关键字)

origin类坐标

指定此帧原点的坐标。请注意,此原点仅用于天空定位/旋转。它可以有一个 distance 但它不会被这个用 SkyOffsetFrame .

rotation角度状

框架围绕 origin . 旋转的符号是左手定则。也就是说,在最后一帧中,未旋转系统中处于特定位置角的对象将被发送到正纬度(z)方向。

笔记

SkyOffsetFrame 是工厂级的。也就是说,它产生的对象是 not 实际上是类对象 SkyOffsetFrame . 相反,无论框架类是什么,都会动态地创建不同的类 origin .

属性摘要

default_differential 

差异数据的默认表示法(例如,速度)

default_representation 

职位数据的默认表示法

frame_attributes 

frame_specific_representation_info 

帧特定组件名称的映射

name 

origin 

rotation 

方法总结

represent_as(base[, s, in_frame_units])

确保任何球形表示的包裹角度。

属性文档

default_differential

差异数据的默认表示法(例如,速度)

default_representation

职位数据的默认表示法

frame_attributes = {'origin': <astropy.coordinates.attributes.CoordinateAttribute object>, 'rotation': <astropy.coordinates.attributes.QuantityAttribute object>}
frame_specific_representation_info

帧特定组件名称的映射

name = 'skyoffsetframe'
origin = None
rotation = <Quantity 0. deg>

方法文件

represent_as(base, s='base', in_frame_units=False)[源代码]

确保任何球形表示的包裹角度。