银河系#

class astropy.coordinates.Galactic(*args, copy=True, representation_type=None, differential_type=None, **kwargs)[源代码]#

基类:BaseCoordinateFrame

银河系中的坐标系或坐标系。

在银河系中,它是以银河系平面为背景的。正的x方向(即l=0,b=0方向)指向银河系中心,z轴指向北极(遵循IAU 1958年的定义) [1]) . 但是,与 Galactocentric 框架 起源 在三维空间中,这幅画面的重心是太阳系的重心,而不是银河系的中心。

参数:
dataBaseRepresentation 子类实例BaseRepresentation子类实例

表示对象或 None 没有数据(或使用坐标分量参数,请参见下文)。

lAngle ,可选,仅关键字角度,可选,仅关键字

这个物体的银河经度 (b 也必须给予和 representation 必须是无)。

bAngle ,可选,仅关键字角度,可选,仅关键字

这个物体的银河纬度 (l 也必须给予和 representation 必须是无)。

distance : Quantity [:ref: 'length' ],可选,仅关键字数量 [:ref: 'length'] ,可选,仅关键字

这个物体沿视线的距离。

pm_l_cosb : Quantity [:ref: 'angular speed' ],可选,仅关键字数量 [:ref: 'angular speed'] ,可选,仅关键字

银河经度上的自运动(包括 cos(b) 术语)对于这个对象 (pm_b 也必须给出)。

pm_b : Quantity [:ref: 'angular speed' ],可选,仅关键字数量 [:ref: 'angular speed'] ,可选,仅关键字

这个物体在银河系纬度上的自身运动 (pm_l_cosb 也必须给出)。

radial_velocity : Quantity [:ref: 'speed' ],可选,仅关键字数量 [:ref: 'speed'] ,可选,仅关键字

这个物体的径向速度。

representation_type : BaseRepresentation subclass, str ,可选BasePresation子类,python:str,可选

表示类或表示类的字符串名称。这将设置预期的输入表示类,从而更改传入数据的预期关键字参数。例如,传递 representation_type='cartesian' 将使类期望具有笛卡尔名称的位置数据,即 x, y, z 在大多数情况下,除非通过 frame_specific_representation_info 。要查看此框架的名称,请查看 <this frame>().representation_info

differential_type : BaseDifferential subclass, strdict ,可选BaseDifferential子类,PYTHON:字符串,PYTHON:DICT,可选

差分类别或差分类别词典(当前仅支持带有关键字‘s’的速度差异)。这将设置预期的输入差异类,从而更改传入数据的预期关键字参数。例如,传递 differential_type='cartesian' 将使类期待带有参数名称的速度数据 v_x, v_y, v_z 除非通过以下方式重写 frame_specific_representation_info 。要查看此框架的名称,请查看 <this frame>().representation_info

copy : bool ,可选可选的布尔

如果 True (默认),复制输入坐标阵列。只能作为关键字参数传入。

笔记

[1]

Blaauw,A.;Gum,C.S.;Pawsey,J.L.;Westerhout,G.(1960),“新的国际航空联盟银河坐标系(1958年修订版)” MNRAS, Vol 121, pp.123 .

属性摘要

default_differential 

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

default_representation 

职位数据的默认表示法

frame_attributes 

frame_specific_representation_info 

帧特定组件名称的映射

name 

属性文档

default_differential#

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

default_representation#

职位数据的默认表示法

frame_attributes = {}#
frame_specific_representation_info#

帧特定组件名称的映射

name = 'galactic'#