irfpy.cy1orb.boundary

Module to specify which region (Magnetosphere/Magnetosheath/Solar wind) the spacecraft located.

irfpy.cy1orb.boundary.inMagnetosphere(t)[source]

Return True if the Moon is in the magnetosphere at the specified time t.

>>> print(inMagnetosphere(datetime.datetime(2009, 1, 25, 0, 0, 0)))
False
>>> print(inMagnetosphere(datetime.datetime(2009, 1, 10, 0, 0, 0)))
True
irfpy.cy1orb.boundary.inMagnetosheath(t)[source]

Return True if the Moon is in the magnetosheath at the specified time t.

>>> print(inMagnetosheath(datetime.datetime(2009, 1, 25, 0, 0, 0)))
False
>>> print(inMagnetosheath(datetime.datetime(2009, 1, 10, 0, 0, 0)))
False
irfpy.cy1orb.boundary.inSolarWind(t)[source]

Return True if the Moon is in the solar wind at the specified time t.

>>> print(inSolarWind(datetime.datetime(2009, 1, 25, 0, 0, 0)))
True
>>> print(inSolarWind(datetime.datetime(2009, 1, 10, 0, 0, 0)))
False