Skip to content

Commit

Permalink
update version 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zzyztyy committed Jun 22, 2020
1 parent df6a10b commit 9b48889
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
Binary file removed dist/pyIGRF-0.1.5.tar.gz
Binary file not shown.
Binary file added dist/pyIGRF-0.3.3.tar.gz
Binary file not shown.
29 changes: 17 additions & 12 deletions pyIGRF.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
Metadata-Version: 1.0
Name: pyIGRF
Version: 0.1.6
Summary: IGRF-12 Model by Python
Version: 0.3.3
Summary: IGRF-13 Model by Python
Home-page: https://github.com/zzyztyy/pyIGRF
Author: zzyztyy
Author-email: [email protected]
License: MIT
Description: # pyIGRF
## What is pyIGRF?
This is a package of IGRF-12 (International Geomagnetic Reference Field) about python version.
It don't need any Fortran compiler. But it needs numpy.
This is a package of IGRF-13 (International Geomagnetic Reference Field) about python version.
We can calculate magnetic field intensity and transform coordinate between GeoGraphical and GeoMagnetic.
It don't need any Fortran compiler. But it needs NumPy package.

## How to Install?
Download this package and run install.
>```python setup.py install```
Expand All @@ -24,13 +26,6 @@ Description: # pyIGRF
or calculate the annual variation of magnetic filed intensity.
>```pyIGRF.igrf_variation(lat, lon, alt, date)```

If you want to use IGRF-12 more flexible, you can use module *calculate*.
There is two function which is closer to Fortran. You can change it for different coordination.
>```from pyIGRF import calculate```

Another module *loadCoeffs* can be used to get *g[m][n]* or *h[m][n]* same as that in formula.
>```from pyIGRF.loadCoeffs import getCoeffs```

the response is 7 float number about magnetic filed which is:
- D: declination (+ve east)
- I: inclination (+ve down)
Expand All @@ -40,7 +35,17 @@ Description: # pyIGRF
- Z: vertical component (+ve down)
- F: total intensity
*unit: degree or nT*
## Model Introduction and igrf12-coeffs File Download

If you want to use IGRF-13 more flexibly, you can use module *calculate*.
There is two function which is closer to Fortran. You can change it for different coordination.
>```from pyIGRF import calculate```

Another module *load_coeffs* can be used to get *g[m][n]* or *h[m][n]* same as that in formula.
>```from pyIGRF.load_coeffs import get_coeffs```



## Model Introduction and igrf13-coeffs File Download
https://www.ngdc.noaa.gov/IAGA/vmod/igrf.html

Platform: UNKNOWN
4 changes: 3 additions & 1 deletion pyIGRF.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MANIFEST.in
README.md
setup.py
pyIGRF/__init__.py
pyIGRF/calculate.py
Expand All @@ -8,4 +10,4 @@ pyIGRF.egg-info/SOURCES.txt
pyIGRF.egg-info/dependency_links.txt
pyIGRF.egg-info/requires.txt
pyIGRF.egg-info/top_level.txt
pyIGRF/src/igrf12coeffs.txt
pyIGRF/src/igrf13coeffs.txt
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="pyIGRF",
version="0.3.2",
version="0.3.3",
author="zzyztyy",
author_email="[email protected]",
description="IGRF-13 Model by Python",
Expand Down

0 comments on commit 9b48889

Please sign in to comment.