Skip to main content

A Python wrapper to the FORTRAN code for the KT17 dynamic magnetic field model for Mercury's magnetosphere

Project description

kt17py

A Python wrapper to the FORTRAN code for the KT17 dynamic magnetic field model for Mercury's magnetosphere.

See Korth, H., Johnson, C. L., Philpott, L.,Tsyganenko, N. A., & Anderson, B. J.(2017). A dynamic model of Mercury’s magnetospheric magnetic field. Geophysical Research Letters, 44. https://doi.org/10.1002/2017GL074699

How to use

import numpy as np
from kt17py.kt17 import *

kt17 = Kt17(0.39,0.50)
xyz_msm = np.array([[-2.0,0.0,0.5]])
b_msm = kt17.bfield(xyz_msm)

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

kt17py-0.0.1b2.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distributions

kt17py-0.0.1b2-cp36-cp36m-manylinux1_x86_64.whl (360.8 kB view hashes)

Uploaded CPython 3.6m

kt17py-0.0.1b2-cp36-cp36m-macosx_10_6_intel.whl (24.3 kB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

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