rot_xy

eispac.util.rot_xy(xcen, ycen, start_time, end_time)[source]

Compute the rotation of a point on the Sun using solar_rotate_coordinate

Parameters:
  • xcen (array-like) – Solar-x in arcsec (scalar)

  • ycen (array-like) – Solar y in arcsec (scalar)

  • start_time (any time format that can be parsed by parse_time) – Obstime of the coordinate represented by xcen and ycen

  • end_time (any time format that can be parsed by parse_time) –

Returns:

new – Coordinate rotated by the time delta between start_time and end_time

Return type:

SkyCoord

Examples

>>> new = rot_xy(0, 0, start_time='2021-JAN-01 00:00', end_time='2021-JAN-01 01:00')
>>> print(new.Tx, new.Ty) 
9.47188arcsec 0.0809565arcsec