RotatedSunFrame

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

Bases: sunpy.coordinates.frames.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

default_differential

default_representation

duration

frame_attributes

frame_specific_representation_info

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).

name

rotated_time

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

rotation_model

Methods Summary

as_base()

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

Attributes Documentation

base = None
default_differential
default_representation
duration = <Quantity 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
name = 'rotatedsunframe'
rotated_time

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

rotation_model = '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.