planetMagFields

Magnetic field of Neptune

planetMagFields is a package that provides an easy interface to plot and analyze planetary magnetic field data. planetMagFields is free and open source and is available at https://github.com/AnkitBarik/planetMagFields .

planetMagFields provides a very easy access to the Gauss coefficients of a planet’s magnetic field obtained from inversion of planetary mission data. It also provides a very easy interface to plot, analyze and even produce files for 3D visualization of a planet’s magnetic field (as shown in the picture). To learn more, checkout the documentation here: https://ankitbarik.github.io/planetMagFields/

If you’re using this package for your work, please cite the paper in Journal of Open Source Software (JOSS):

Barik et al., (2024). planetMagFields: A Python package for analyzing and plotting planetary magnetic field data. Journal of Open Source Software, 9(97), 6677, https://doi.org/10.21105/joss.06677

Or bibtex:

 @article{Barik2024,
    doi = {10.21105/joss.06677},
    url = {https://doi.org/10.21105/joss.06677},
    year = {2024},
    publisher = {The Open Journal},
    volume = {9},
    number = {97},
    pages = {6677},
    author = {Barik, Ankit and Angappan, Regupathi},
    title = {planetMagFields: A Python package for analyzing and plotting planetary magnetic field data},
    journal = {Journal of Open Source Software}
 }
Ankit Barik
Ankit Barik
Assistant Research Scientist

Research interests include fluid dynamics and magnetohydrodynamics of planetary and stellar interiors, computational fluid dynamics and turbulence.