HCRS¶
-
class
astropy.coordinates.HCRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)[source] [edit on github]¶ Bases:
astropy.coordinates.BaseRADecFrameA coordinate or frame in a Heliocentric system, with axes aligned to ICRS.
The ICRS has an origin at the Barycenter and axes which are fixed with respect to space.
This coordinate system is distinct from ICRS mainly in that it is relative to the Sun’s center-of-mass rather than the solar system Barycenter. In principle, therefore, this frame should include the effects of aberration (unlike ICRS), but this is not done, since they are very small, of the order of 8 milli-arcseconds.
For more background on the ICRS and related coordinate transformations, see the references provided in the See Also section of the documentation.
The frame attributes are listed under Other Parameters.
Parameters: data :
BaseRepresentationsubclass instanceA representation object or
Noneto have no data (or use the coordinate component arguments, see below).ra :
Angle, optional, must be keywordThe RA for this object (
decmust also be given andrepresentationmust be None).dec :
Angle, optional, must be keywordThe Declination for this object (
ramust also be given andrepresentationmust be None).distance :
Quantity, optional, must be keywordThe Distance for this object along the line-of-sight. (
representationmust be None).pm_ra_cosdec :
Quantity, optional, must be keywordThe proper motion in Right Ascension (including the
cos(dec)factor) for this object (pm_decmust also be given).pm_dec :
Quantity, optional, must be keywordThe proper motion in Declination for this object (
pm_ra_cosdecmust 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.Other Parameters: obstime :
TimeThe time at which the observation is taken. Used for determining the position of the Sun.
Attributes Summary
default_differentialdefault_representationframe_attributesframe_specific_representation_infonameobstimeAttributes Documentation
-
default_differential¶
-
default_representation¶
-
frame_attributes= {'obstime': <astropy.coordinates.attributes.TimeAttribute object at 0x7ff2940cfb00>}¶
-
frame_specific_representation_info¶
-
name= 'hcrs'¶
-
obstime= <Time object: scale='utc' format='jyear_str' value=J2000.000>¶
-