CIRS#
- class astropy.coordinates.CIRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)[source]#
Bases:
BaseRADecFrameA coordinate or frame in the Celestial Intermediate Reference System (CIRS).
The frame attributes are listed under Other Parameters.
- Parameters:
- data
BaseRepresentationsubclass instance A representation object or
Noneto have no data (or use the coordinate component arguments, see below).- ra
Angle, optional, keyword-only The RA for this object (
decmust also be given andrepresentationmust be None).- dec
Angle, optional, keyword-only The Declination for this object (
ramust also be given andrepresentationmust be None).- distance
Quantity[:ref: ‘length’], optional, keyword-only The Distance for this object along the line-of-sight. (
representationmust be None).- pm_ra_cosdec
Quantity[:ref: ‘angular speed’], optional, keyword-only The proper motion in Right Ascension (including the
cos(dec)factor) for this object (pm_decmust also be given).- pm_dec
Quantity[:ref: ‘angular speed’], optional, keyword-only The proper motion in Declination for this object (
pm_ra_cosdecmust also be given).- radial_velocity
Quantity[:ref: ‘speed’], optional, keyword-only The radial velocity of this object.
- representation_type
BaseRepresentationsubclass,python:str, optional A 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 unless overridden viaframe_specific_representation_info. To see this frame’s names, check out<this frame>().representation_info.- differential_type
BaseDifferentialsubclass,python:str,python:dict, optional A 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_zunless overridden viaframe_specific_representation_info. To see this frame’s names, check out<this frame>().representation_info.- copybool, optional
If
True(default), make copies of the input coordinate arrays. Can only be passed in as a keyword argument.
- data
- Other Parameters:
- obstime
Time The time at which the observation is taken. Used for determining the position of the Earth and its precession.
- location
EarthLocation The location on the Earth. This can be specified either as an
EarthLocationobject or as anything that can be transformed to anITRSframe. The default is the centre of the Earth.
- obstime
Attributes Summary
Default representation for differential data (e.g., velocity)
Default representation for position data
Mapping for frame-specific component names
The location on Earth of the observer
The reference time (e.g., time of observation
Attributes Documentation
- default_differential#
Default representation for differential data (e.g., velocity)
- default_representation#
Default representation for position data
- frame_attributes = {'location': <astropy.coordinates.attributes.EarthLocationAttribute object>, 'obstime': <astropy.coordinates.attributes.TimeAttribute object>}#
- frame_specific_representation_info#
Mapping for frame-specific component names
- location#
The location on Earth of the observer
Default: (0.0, 0.0, 0.0) km
- name = 'cirs'#
- obstime#
The reference time (e.g., time of observation
Default: J2000.000