NorthOffsetFrame#

class sunpy.coordinates.NorthOffsetFrame(*args, **kwargs)#

Bases: object

A 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 north keyword.

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 SkyOffsetFrame instead.

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 coordinates

Offsetting the north pole of a coordinate frame

Offsetting the north pole of a coordinate frame

Notes

NorthOffsetFrame is a wrapper around the SkyOffsetFrame factory class. This class will calculate the desired coordinates of the origin from the north keyword argument and then create a SkyOffsetFrame.

Using this frame is equivalent to using SkyOffsetFrame with lat = lat - 90*u.deg for a position of the north pole in the original northern hemisphere.