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
ticksspacepy.time.Ticktock or datetime.datetime
Returns
rnumberinteger or array

Carrington (or Bartels) rotation number