Skip to content
This repository was archived by the owner on Aug 24, 2023. It is now read-only.

Commit e77b037

Browse files
authored
Merge pull request #259 from dstansby/citing-info
Add citation info
2 parents 6efe65f + e55b762 commit e77b037

File tree

4 files changed

+42
-11
lines changed

4 files changed

+42
-11
lines changed

CITING.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Citing
2+
------
3+
4+
If you use pfsspy in work that results in publication, please cite the
5+
Journal of Open Source Software paper at https://doi.org/10.21105/joss.02732.
6+
A ready made bibtex entry is
7+
8+
.. code:: bibtex
9+
10+
@article{Stansby2020,
11+
doi = {10.21105/joss.02732},
12+
url = {https://doi.org/10.21105/joss.02732},
13+
year = {2020},
14+
publisher = {The Open Journal},
15+
volume = {5},
16+
number = {54},
17+
pages = {2732},
18+
author = {David Stansby and Anthony Yeates and Samuel T. Badman},
19+
title = {pfsspy: A Python package for potential field source surface modelling},
20+
journal = {Journal of Open Source Software}
21+
}

doc/source/changes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Changelog
44
=========
55

6+
0.6.4
7+
-----
8+
This release adds citation information to the documentation.
9+
610
0.6.3
711
-----
812
This release contains the source for the accepted JOSS paper describing pfsspy.

doc/source/index.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,7 @@ improve code performance. These can be installed with
3030
3131
pip install pfsspy[performance]
3232
33-
Citing
34-
------
35-
36-
If you use pfsspy in work that results in publication, please cite the archived
37-
code at *both*
38-
39-
- https://zenodo.org/record/2566462
40-
- https://zenodo.org/record/1472183
41-
42-
Citation details can be found at the lower
43-
right hand of each web page.
33+
.. include:: ../../CITING.rst
4434

4535
Contents
4636
--------

pfsspy/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,19 @@
2626
distutils.version.LooseVersion("3")):
2727
raise RuntimeError('pfsspy requires astropy v3 to run ' +
2828
f'(found version {astropy.__version__} installed)')
29+
30+
31+
__citation__ = __bibtex__ = """
32+
@article{Stansby2020,
33+
doi = {10.21105/joss.02732},
34+
url = {https://doi.org/10.21105/joss.02732},
35+
year = {2020},
36+
publisher = {The Open Journal},
37+
volume = {5},
38+
number = {54},
39+
pages = {2732},
40+
author = {David Stansby and Anthony Yeates and Samuel T. Badman},
41+
title = {pfsspy: A Python package for potential field source surface modelling},
42+
journal = {Journal of Open Source Software}
43+
}
44+
"""

0 commit comments

Comments
 (0)