pyrfu.pyrf.magnetosphere module#

pyrfu.pyrf.magnetosphere.magnetosphere(model: str = 'mp_shue1998', tint: list | None = None)[source]#

Returns the location of magnetopause.

Parameters:
  • model (str) – Model to use. Implemented: ‘mp_shue1998’, ‘bs’. Default is ‘mp_shue1998’.

  • tint (list) – Time interval.

Returns:

  • x_ (ndarray) – X location of the magnetopause.

  • y_ (ndarray) – Y location of the magnetopause.

Examples

>>> from pyrfu.pyrf import magnetosphere
>>> x_mp, y_mp = magnetosphere("mp_shue1998", 10, -2)