Skip to main content

jrm33

JRM33 model (Connerney et al. 2022) implementation using Python.

Installation

Install using pip:

pip3 install jrm33 --user

Or by cloning this repo:

git clone https://github.com/mattkjames7/jrm33.git
cd jrm09

#EITHER create a wheel and install (replace X.X.X with the version number):
python3 setup.py bdist_wheel
pip3 install dist/jrm33-X.X.X-py3-none-any.whl --user

#OR install directly using setup.py
python3 setup.py install --user

Usage

The model accepts right-handed System III coordinates either in Cartesian form (jrm33.ModelCart()) or in spherical polar form (jrm33.Model()), e.g.:

import jrm33

#get some Cartesian field vectors (Deg keyword is optional)
Bx,By,Bz = jrm33.ModelCart(x,y,z,Deg=13)

#or spherical polar ones
Br,Bt,Bp = jrm33.Model(r,theta,phi,Deg=13)

Please read the docstrings for jrm33.Model() and jrm33.ModelCart() using help or ? e.g. help(jrm33.Model) .

There is also a test function which requires matplotlib to be installed:

#evaluate the model at some R
jrm33.Test(R=0.85)

which produces this (based on figure 4 of Connerney et al. 2018):

jrm09test.png

References

Connerney, J. E. P., Kotsiaros, S., Oliversen, R. J., Espley, J. R., Joergensen, J. L., Joergensen, P. S., et al. (2018). A new model of Jupiter's magnetic field from Juno's first nine orbits. Geophysical Research Letters, 45, 2590– 2596. https://doi.org/10.1002/2018GL077312

Connerney, J. E. P., Timmins, S., Oliversen, R. J., Espley, J. R., Joergensen, J. L., Kotsiaros, S., et al. (2022). A new model of Jupiter's magnetic field at the completion of Juno's Prime Mission. Journal of Geophysical Research: Planets, 127, e2021JE007055. A New Model of Jupiter's Magnetic Field at the Completion of Juno's Prime Mission - Connerney - 2022 - Journal of Geophysical Research: Planets - Wiley Online Library

Metadata

Release files for jrm33 1.0.3

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

Built distribution (wheel)

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

Release files / jrm33-1.0.3-py3-none-any.whl

Download URL jrm33-1.0.3-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1b248bb0c72b39c59d6442a81415599926bb926cd19e1342b4d559f601b744c
BLAKE2b-256 checksum
How to use checksums
4a553a54372ed4321cf048c8b45184940a0d570083c539c02defe39ff106e082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

Security for jrm33 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file No provenance

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