Galactic¶
-
class
astropy.coordinates.Galactic(*args, copy=True, representation_type=None, differential_type=None, **kwargs)[source] [edit on github]¶ Bases:
astropy.coordinates.BaseCoordinateFrameA coordinate or frame in the Galactic coordinate system.
This frame is used in a variety of Galactic contexts because it has as its x-y plane the plane of the Milky Way. The positive x direction (i.e., the l=0, b=0 direction) points to the center of the Milky Way and the z-axis points toward the North Galactic Pole (following the IAU’s 1958 definition [R1313]). However, unlike the
Galactocentricframe, the origin of this frame in 3D space is the solar system barycenter, not the center of the Milky Way.Parameters: data :
BaseRepresentationsubclass instanceA representation object or
Noneto have no data (or use the coordinate component arguments, see below).l :
Angle, optional, must be keywordThe Galactic longitude for this object (
bmust also be given andrepresentationmust be None).b :
Angle, optional, must be keywordThe Galactic latitude for this object (
lmust also be given andrepresentationmust be None).distance :
Quantity, optional, must be keywordThe Distance for this object along the line-of-sight.
pm_l_cosb :
Quantity, optional, must be keywordThe proper motion in Galactic longitude (including the
cos(b)term) for this object (pm_bmust also be given).pm_b :
Quantity, optional, must be keywordThe proper motion in Galactic latitude for this object (
pm_l_cosbmust also be given).radial_velocity :
Quantity, optional, must be keywordThe radial velocity of this object.
representation_type :
BaseRepresentationsubclass, str, optionalA representation class or string name of a representation class. This sets the expected input representation class, thereby changing the expected keyword arguments for the data passed in. For example, passing
representation_type='cartesian'will make the classes expect position data with cartesian names, i.e.x, y, zin most cases.differential_type :
BaseDifferentialsubclass, str, dict, optionalA differential class or dictionary of differential classes (currently only a velocity differential with key ‘s’ is supported). This sets the expected input differential class, thereby changing the expected keyword arguments of the data passed in. For example, passing
differential_type='cartesian'will make the classes expect velocity data with the argument namesv_x, v_y, v_z.copy : bool, optional
If
True(default), make copies of the input coordinate arrays. Can only be passed in as a keyword argument.Notes
[R1313] Blaauw, A.; Gum, C. S.; Pawsey, J. L.; Westerhout, G. (1960), “The new I.A.U. system of galactic coordinates (1958 revision),” MNRAS, Vol 121, pp.123. Attributes Summary
default_differentialdefault_representationframe_specific_representation_infonameAttributes Documentation
-
default_differential¶
-
default_representation¶
-
frame_specific_representation_info¶
-
name= 'galactic'¶
-