redplanet.Mag.sh.load
Load a magnetic field model for Mars.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model
|
str
|
Name of the magnetic field model to load. Options are:
|
None
|
lmax
|
int
|
The maximum spherical harmonic degree of the coefficients to load. Default is 134 (maximum for 'Langlais2019'). |
134
|
Raises:
Type | Description |
---|---|
ValueError
|
If an invalid model name is provided. |
References
- Langlais, B. (2019). Spherical harmonic model of the magnetic field of Mars to degree 134 [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.3876714
- Langlais, B., Thébault, E., Houliez, A., Purucker, M. E., & Lillis, R. J. (2019). A New Model of the Crustal Magnetic Field of Mars Using MGS and MAVEN. Journal of Geophysical Research: Planets, 124(6), 1542-1569. https://doi.org/10.1029/2018JE005854
- Wieczorek, M. A., & Meschede, M. (2018). SHTools: Tools for Working with Spherical Harmonics. Geochemistry, Geophysics, Geosystems, 19(8), 2574-2592. https://doi.org/10.1029/2018GC007529
- Wieczorek, M. A., Meschede, M., Broquet, A., Brugere, T., Corbin, A., EricAtORS, Hattori, A., Kalinin, A., Kohler, J., Kutra, D., Leinweber, K., Lobo, P., Maia, J., Mentzer, E., Minton, D., Oshchepkov, I., Phan, P. L., Poplawski, O., Reinecke, M., Sales de Andrade, E., Schnetter, E., Schröder, S., Shin, D., Sierra, J., Vasishta, A., Walker, A., xoviat, & Xu, B. (2024). SHTOOLS/SHTOOLS: Version 4.13.1. Zenodo. https://doi.org/10.5281/zenodo.12698962
Source code in src/redplanet/Mag/sh/loader.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
|