Skip to content

Commit

Permalink
Merge pull request #38 from STBadman/heritage-docs-page
Browse files Browse the repository at this point in the history
Add pfsspy heritage docs page
  • Loading branch information
STBadman committed May 2, 2024
2 parents 37751cb + eb1243a commit 5eca751
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"streamtracer": ("https://streamtracer.readthedocs.io/en/stable", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"reproject": ("https://reproject.readthedocs.io/en/stable/", None),
"pfsspy": ("https://pfsspy.readthedocs.io/en/latest/", None),
}

# -- Options for HTML output -------------------------------------------------
Expand Down
33 changes: 33 additions & 0 deletions docs/heritage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
*************
Code Heritage
*************

``pfsspy``
==========

As of initial release, the main component of ``sunkit-magex`` (`sunkit_magex.pfss`) is forked from `pfsspy` package (archived as of August 24, 2023).
`pfsspy` implemented the Potential Field Source Surface (PFSS) model, a widely used method to extrapolate the magnetic fields of the solar corona.
`pfsspy` was developed, integrated with `sunpy` and maintained by `David Stansby <https://www.davidstansby.com/>`__, based on an `original PFSS implementation <https://doi.org/10.5281/zenodo.1472183>`__ by `Anthony Yeates <https://www.maths.dur.ac.uk/users/anthony.yeates/>`__.

Details of the numerical methods underlying the solver can be found in :any:`numerical_methods_pfss/index`.

Citing
------

If you use `sunkit_magex.pfss` in work that results in publication, please cite the original ``pfsspy`` Journal of Open Source Software paper at https://doi.org/10.21105/joss.02732.
A ready made bibtex entry is

.. code:: bibtex
@article{Stansby2020,
doi = {10.21105/joss.02732},
url = {https://doi.org/10.21105/joss.02732},
year = {2020},
publisher = {The Open Journal},
volume = {5},
number = {54},
pages = {2732},
author = {David Stansby and Anthony Yeates and Samuel T. Badman},
title = {pfsspy: A Python package for potential field source surface modelling},
journal = {Journal of Open Source Software}
}
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This is the documentation for sunkit-magex.
:caption: Contents:

installing
heritage
generated/gallery/index
reference/index
performance
Expand Down

0 comments on commit 5eca751

Please sign in to comment.