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_differential

Default representation for differential data (e.g., velocity)

default_representation

Default representation for position data

frame_attributes

frame_specific_representation_info

Mapping for frame-specific component names

name

rsun

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 the lon and lat, and radius will be set to the frame’s rsun 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