Skip to main content

magnetopause maps

Project description

shearmapmpmaps

Magnetopause Maps

PyPI Tests Documentation Status Coverage Status

MMPaps is a package that allows to compute and plot maps of various physical quantities onto the Earth Magnetopause. Maps are computed from in situ measurements only, following the methodology of Michotte de Welle et al. 2004

@article{MichottedeWelle2024,
title={Global environmental constraints on magnetic reconnection at the magnetopause from in-situ measurements},
DOI={10.22541/essoar.170808382.29449499/v1},
journal={ESS Open Archive},
author={Michotte de Welle, B and Aunai, N and Lavraud, B. and Nguyen, G. and Génot, V and Ghisalberti, A. and Jeandet, A. and Smets, R.},
year={2024}}

Features

compute a shear angle map

import mpmaps
mpm = mpmaps.MPMap()

# set IMF parameters
mpm.set_parameters(tilt=12, clock=127, cone = 22, bimf=5)

# compute and retrieve shear angle values for
# parameters set above
shear_map_values = mpm.shear_angle()

# now let's make a map for northward IMF
# other IMF params are default ones
mpm_north = mpm.MPMap(clock=45)
shear = mpm_north.shear_angle()

compute reconnection rate map

import mpmaps
mpm = mpmaps.MPMap()

# set IMF parameters
mpm.set_parameters(tilt=12, clock=127, cone = 22, bimf=5)

# compute and retrieve rate values for
# parameters set above
# by default the reconnection components are computed
# so that the X line maximizes the Cassak-Shay scaliing law
# (rec_angle='rate')
rate_values = mpm.reconnection_rate()

#now same map but with X line locally aligned with the bisection
rate_values_bisec = mpm.reconnection_rate(rec_angle='bisection')

compute the current density map

import mpmaps
mpm = mpmaps.MPMap()

# set IMF parameters
mpm.set_parameters(tilt=12, clock=127, cone = 22, bimf=5)

values = mpm.current_density()


# default magnetopause thickness is 800km
# but can be changed
mpm.set_parameters(mp_thick=800)
values = mpm.current_density()

Credits

We acknowledge support from:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpmaps-0.2.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

mpmaps-0.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file mpmaps-0.2.0.tar.gz.

File metadata

  • Download URL: mpmaps-0.2.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for mpmaps-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e5d9f60e888b50cdc29454898be21b39a3c044a599aa7fbf7cdacb2bbc82911
MD5 ffde5aa697178057a070873692df850b
BLAKE2b-256 00ba50dce27d2e2464259b2a3fefd9f3d1adf70eeef088574f44f59515c7f5ed

See more details on using hashes here.

File details

Details for the file mpmaps-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mpmaps-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for mpmaps-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 718539d26eaf2b04987e6844983ef212ddf8faad40fe9f4584d6a1074e6af005
MD5 be686f219a3cc054cd8e4c00aa197414
BLAKE2b-256 eb93b4796d2c8729c339b9fd42a1d28b78834f3377e83f00ebc99de8b7cbc3b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page