RotatedSunFrame#

class sunpy.coordinates.RotatedSunFrame(*args, **kwargs)[source]#

Bases: SunPyBaseCoordinateFrame

A frame that applies solar rotation to a base coordinate frame.

Note

See Differential rotation using coordinate frames for how to use this class.

In essence, the coordinate axes of the frame are distorted by differential solar rotation. This allows using a coordinate representation at one time (at the obstime of the base coordinate frame) to point to a location at a different time that has been differentially rotated by the time difference (duration).

Parameters:

Notes

RotatedSunFrame is a factory class. That is, the objects that it yields are not actually objects of class RotatedSunFrame. Instead, distinct classes are created on-the-fly for whatever the frame class is of base.

Attributes Summary

base

A frame attribute

default_differential

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

default_representation

Default representation for position data

duration

A frame attribute

frame_attributes

frame_specific_representation_info

Mapping for frame-specific component names

name

rotated_time

Returns the sum of the base frame's observation time and the rotation of duration.

rotation_model

A frame attribute

Methods Summary

as_base()

Returns a coordinate with the current representation and in the base coordinate frame.

Attributes Documentation

base#

A frame attribute

No default value

default_differential#

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

default_representation#

Default representation for position data

duration#

A frame attribute

Default: 0.0 d

frame_attributes = {'base': <astropy.coordinates.attributes.Attribute object>, 'duration': <astropy.coordinates.attributes.QuantityAttribute object>, 'rotation_model': <astropy.coordinates.attributes.Attribute object>}#
frame_specific_representation_info#

Mapping for frame-specific component names

name = 'rotatedsunframe'#
rotated_time#

Returns the sum of the base frame’s observation time and the rotation of duration.

rotation_model#

A frame attribute

Default: howard

Methods Documentation

as_base()[source]#

Returns a coordinate with the current representation and in the base coordinate frame.

This method can be thought of as “removing” the RotatedSunFrame layer. Be aware that this method is not merely a coordinate transformation, because this method changes the location in inertial space that is being pointed to.