NorthOffsetFrame#
- class sunpy.coordinates.metaframes.NorthOffsetFrame(*args, **kwargs)[source]#
Bases:
objectA frame which is offset from another frame such that it shares the same origin, but has its “north pole” (i.e., the Z axis) in a different direction.
The original coordinate frame and the direction of the new north pole are specified by the
northkeyword.This class should be used when specifying a new north pole is natural. In contrast, for shifting the origin in the projected sky (e.g., where helioprojective X and Y coordinates are zero), use
SkyOffsetFrameinstead.- Parameters:
north (
HeliographicStonyhurst) – The direction and frame for the new “north pole”.
Examples
Segmenting a Map based on transformation of coordinates
Segmenting a Map based on transformation of coordinatesNotes
NorthOffsetFrameis a wrapper around theSkyOffsetFramefactory class. This class will calculate the desired coordinates of theoriginfrom thenorthkeyword argument and then create aSkyOffsetFrame.Using this frame is equivalent to using
SkyOffsetFramewithlat = lat - 90*u.degfor a position of the north pole in the original northern hemisphere.