Skip to main content

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:

Metadata

Release files for mpmaps 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpmaps 0.2.0
File Size Uploaded
mpmaps-0.2.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mpmaps 0.2.0
File Interpreter ABI Platform
mpmaps-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / mpmaps-0.2.0.tar.gz

Download URL mpmaps-0.2.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7e5d9f60e888b50cdc29454898be21b39a3c044a599aa7fbf7cdacb2bbc82911
BLAKE2b-256 checksum
How to use checksums
00ba50dce27d2e2464259b2a3fefd9f3d1adf70eeef088574f44f59515c7f5ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / mpmaps-0.2.0-py3-none-any.whl

Download URL mpmaps-0.2.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
718539d26eaf2b04987e6844983ef212ddf8faad40fe9f4584d6a1074e6af005
BLAKE2b-256 checksum
How to use checksums
eb93b4796d2c8729c339b9fd42a1d28b78834f3377e83f00ebc99de8b7cbc3b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page