mars_time.find_perihelion#

mars_time.find_perihelion(mars_year: int) MarsTime[source]#

Find the time of perihelion for a given Mars year.

Parameters:

mars_year (int) – The Mars year. Must be between -99 and 99.

Returns:

The time of perihelion for the given Mars year.

Return type:

MarsTime

See also

find_aphelion

Find aphelion for a given Mars year.

Notes

This algorithm works by numerically finding where the solar longitude is changing most rapidly with time.

Examples

Find perihelion for Mars year 33

>>> import mars_time
>>> mars_time.find_perihelion(33)
MarsTime(year=33, sol=485.70)