-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from KCollins/develop
Develop
- Loading branch information
Showing
7 changed files
with
81,601 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
conjugate_map | ||
============= | ||
|
||
|PyPI version| |DOI| |Documentation Status| | ||
|
||
Files and scripts relating to geomagnetic conjugate map. Run in Binder | ||
here: |Binder| | ||
|
||
There are two example notebooks available: | ||
|
||
- ``MWE.ipynb``: Minimal working example demonstrating conjugate calculations. | ||
|
||
- ``ConjugateMap.ipynb``: More in-depth examples using COMNAP, Madrigal | ||
and other databases to produce animated maps with plotly express. | ||
|
||
|
||
The following functions are imported from ``conj_calc.py``: | ||
|
||
- ``conjugate_map.findconj()`` : function to compute conjugate points for a given location at a given time and date. | ||
|
||
- ``conjugate_map.conjcalc()`` : function to take in a dataframe and add columns for all stages of calculating conjugate points. | ||
|
||
- ``conjugate_map.calc_mlat_rings()`` : function to calculate magnetic graticules for a given latitude and datetime. | ||
|
||
|
||
You can read the documentation for each function by running, e.g., | ||
``help(calc_mlat_rings)``. | ||
|
||
Installation | ||
------------ | ||
|
||
To install from pypi: ``pip install conjugate-map`` | ||
|
||
To install from source: Clone git repo and run | ||
``python -m pip install .`` from top level of directory. | ||
|
||
Testing | ||
------- | ||
|
||
To test locally, run ``python -m unittest`` from top level of directory. | ||
|
||
.. |PyPI version| image:: https://badge.fury.io/py/conjugate-map.svg | ||
:target: https://badge.fury.io/py/conjugate-map | ||
.. |DOI| image:: https://zenodo.org/badge/651410906.svg | ||
:target: https://zenodo.org/doi/10.5281/zenodo.10056623 | ||
.. |Documentation Status| image:: https://readthedocs.org/projects/conjugate-map/badge/?version=latest | ||
:target: https://conjugate-map.readthedocs.io/en/latest/?badge=latest | ||
.. |Binder| image:: https://mybinder.org/badge_logo.svg | ||
:target: https://mybinder.org/v2/gh/KCollins/conjugate_map/HEAD?labpath=notebooks%2FMWE.ipynb |
Oops, something went wrong.