BaseHeliographic¶
- class sunpy.coordinates.frames.BaseHeliographic(*args, **kwargs)[source]¶
Bases:
sunpy.coordinates.frames.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
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).
Methods Summary
make_3d
()Returns a fully 3D coordinate based on this coordinate.
Attributes Documentation
- default_differential¶
- default_representation¶
- frame_attributes = {'obstime': <sunpy.coordinates.frameattributes.TimeFrameAttributeSunPy object>, 'rsun': <astropy.coordinates.attributes.QuantityAttribute object>}¶
- frame_specific_representation_info¶
- name = 'baseheliographic'¶
- rsun = <Quantity 695700. 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