BaseEclipticFrame¶
-
class
astropy.coordinates.builtin_frames.BaseEclipticFrame(*args, copy=True, representation_type=None, differential_type=None, **kwargs)[source]¶ Bases:
astropy.coordinates.BaseCoordinateFrameA base class for frames that have names and conventions like that of ecliptic frames.
Warning
In the current version of astropy, the ecliptic frames do not yet have stringent accuracy tests. We recommend you test to “known-good” cases to ensure this frames are what you are looking for. (and then ideally you would contribute these tests to Astropy!)
Parameters: - data :
BaseRepresentationsubclass instance A representation object or
Noneto have no data (or use the coordinate component arguments, see below).- lon :
Angle, optional, must be keyword The ecliptic longitude for this object (
latmust also be given andrepresentationmust be None).- lat :
Angle, optional, must be keyword The ecliptic latitude for this object (
lonmust also be given andrepresentationmust be None).- distance :
Quantity, optional, must be keyword The distance for this object from the specified location. (
representationmust be None).- pm_lon_coslat :
Angle, optional, must be keyword The proper motion in the ecliptic longitude (including the
cos(lat)factor) for this object (pm_latmust also be given).- pm_lat :
Angle, optional, must be keyword The proper motion in the ecliptic latitude for this object (
pm_lon_coslatmust also be given).- radial_velocity :
Quantity, optional, must be keyword The radial velocity of this object.
- representation_type :
BaseRepresentationsubclass, 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.- differential_type :
BaseDifferentialsubclass, str, 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_z.- copy : bool, optional
If
True(default), make copies of the input coordinate arrays. Can only be passed in as a keyword argument.
Attributes Summary
default_differentialdefault_representationframe_specific_representation_infonameAttributes Documentation
-
default_differential¶
-
default_representation¶
-
frame_specific_representation_info¶
-
name= 'baseeclipticframe'¶
- data :