BaseHeliographic#
- class sunpy.coordinates.frames.BaseHeliographic(*args, **kwargs)[source]#
Bases:
SunPyBaseCoordinateFrame
Base class for HeliographicCarrington (HGC) and HeliographicStonyhurst (HGS) frames.
This class is not intended to be used directly and has no transformations defined.
Attributes Summary
Default representation for differential data (e.g., velocity)
Default representation for position data
Mapping for frame-specific component names
A frame attribute
Methods Summary
make_3d
()Returns a fully 3D coordinate based on this coordinate.
Attributes Documentation
- default_differential#
Default representation for differential data (e.g., velocity)
- default_representation#
Default representation for position data
- frame_attributes = {'obstime': <sunpy.coordinates.frameattributes.TimeFrameAttributeSunPy object>, 'rsun': <astropy.coordinates.attributes.QuantityAttribute object>}#
- frame_specific_representation_info#
Mapping for frame-specific component names
- name = 'baseheliographic'#
- rsun#
A frame attribute
Default: 695700.0 km
Methods Documentation
- make_3d()[source]#
Returns a fully 3D coordinate based on this coordinate.
If this coordinate is only 2D (i.e., no
radius
component) or is a unit vector (i.e., the norm of the coordinate is unity), a new coordinate is created that corresponds to the surface of the Sun. That is, the 3D coordinate will retain thelon
andlat
, andradius
will be set to the frame’srsun
frame attribute.If this coordinate is already fully 3D, it is directly returned, even if it does not lie on the surface of the Sun.
- Returns:
frame (
BaseHeliographic
) – The fully 3D coordinate