spacepy.empiricals.getSolarRotation

spacepy.empiricals.getSolarRotation(ticks, rtype='carrington', fp=False, reverse=False)[source]

Calculates solar rotation number (Carrington or Bartels) for a given date/time

Parameters:

ticks : spacepy.time.Ticktock or datetime.datetime

Returns:

rnumber : integer or array

Carrington (or Bartels) rotation number