A python package for working with magnetic coordinate transformations
Project description
MagCoordPy
A python package for working with magnetic coordinate transformations. The documentation is available at https://magcoordpy.readthedocs.io/en/latest/.
Installation
pip install magcoordpy
Example usage
from magcoordpy import coord_transforms
long_geo = np.arange(-180, 190, 10)
lati_geo = np.zeros(len(long_array))
alti_geo = np.zeros(len(long_array))
lat_cd, lon_cd, r_cd = coord_transforms.geodetic2cd(lati_geo, long_geo, alti_geo, year=2021.0)
It includes the following functions (not exhaustive list):
- geodetic2cd --> transformation from geodetic to centered dipole
- cd2geodetic --> transformation from centered dipole to geodetic
Authors
- Giorgio Savastano (giorgiosavastano@gmail.com)
Please use github issues to make bug reports and request new functionality. Contributions are always welcome.
References
Laundal, K.M., Richmond, A.D. Magnetic Coordinate Systems. Space Sci Rev 206, 27–59 (2017). https://doi.org/10.1007/s11214-016-0275-y
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magcoordpy-0.2.3.tar.gz.
File metadata
- Download URL: magcoordpy-0.2.3.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc978d8cd886eb679f9b9a026758d65c2c4b37d637cf9a1c22a8df0cb7c0b0be
|
|
| MD5 |
0345b7eb8d648ab5a0bb47791d8bd5c7
|
|
| BLAKE2b-256 |
c0228eb045d3784e033cc3833684a8e3032c1e862864accb82948a46003c17cf
|
File details
Details for the file magcoordpy-0.2.3-py3-none-any.whl.
File metadata
- Download URL: magcoordpy-0.2.3-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ae16598f405a31e307199b445afed49079cee816d13555563ae9d8b167e4bb6
|
|
| MD5 |
8b52a3cfa29d03a0c5d826bfa6f8b159
|
|
| BLAKE2b-256 |
7a39a991655232784cd0e8485f52ca8296db8eba41460f042ec8ce5d73719165
|