mars_time.find_aphelion#

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

Find the MarsTime of aphelion for a given Mars year.

Parameters:

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

Returns:

The time of aphelion for the given Mars year.

Return type:

MarsTime

See also

find_perihelion

Find perihelion for a given Mars year.

Notes

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

Examples

Find aphelion for Mars year 33

>>> import mars_time
>>> mars_time.find_aphelion(33)
MarsTime(year=33, sol=151.21)