Skip to content

Commit

Permalink
Add BibTeX citation to README and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpitkin committed May 25, 2022
1 parent e4ecef1 commit dfe7bf8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 3 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,28 @@ mmax <- 10
lint$lqag(py_func(integrand), r_to_py(mmin), r_to_py(mmax), c(mu, sig))
```

## Citation

If using `lintegrate` in your research, I would be grateful if you cite the associated [JOSS paper](https://joss.theoj.org/papers/10.21105/joss.04231) for the software. The following BibTeX citation can be used:

```bibtex
@article{Pitkin2022,
doi = {10.21105/joss.04231},
url = {https://doi.org/10.21105/joss.04231},
year = {2022},
publisher = {The Open Journal},
volume = {7},
number = {73},
pages = {4231},
author = {Matthew Pitkin},
title = {lintegrate: A C/Python numerical integration library for working in log-space},
journal = {Journal of Open Source Software}
}
```

You may also want to cite the [GSL](https://www.gnu.org/software/gsl/) reference "_M. Galassi et al, GNU Scientific Library Reference Manual (3rd Ed.), ISBN 0954612078_" and the URL http://www.gnu.org/software/gsl/.


[![DOI](https://joss.theoj.org/papers/10.21105/joss.04231/status.svg)](https://doi.org/10.21105/joss.04231)
[![Build Status](https://github.com/mattpitkin/lintegrate/workflows/build/badge.svg)](https://github.com/mattpitkin/lintegrate/actions?query=workflow%3Abuild)
[![PyPI version](https://badge.fury.io/py/lintegrate.svg)](https://badge.fury.io/py/lintegrate)
Expand Down
29 changes: 26 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,37 @@ accessed in a similar way to the SciPy :func:`~scipy.integrate.quad` function.
Python API <pythonapi>
Examples <examples>

Citation
~~~~~~~~

If using lintegrate within you research, I would be grateful if you cite the associated `JOSS paper <https://joss.theoj.org/papers/10.21105/joss.04231>`_ for the software. The following BibTeX citation can be used:

.. code-block:: bibtex
@article{Pitkin2022,
doi = {10.21105/joss.04231},
url = {https://doi.org/10.21105/joss.04231},
year = {2022},
publisher = {The Open Journal},
volume = {7},
number = {73},
pages = {4231},
author = {Matthew Pitkin},
title = {lintegrate: A C/Python numerical integration library for working in log-space},
journal = {Journal of Open Source Software}
}
You may also want to cite the `GSL <https://www.gnu.org/software/gsl/>`__ reference "*M. Galassi et al, GNU Scientific Library Reference Manual (3rd Ed.), ISBN 0954612078*" and the URL http://www.gnu.org/software/gsl/.


Indices and tables
==================

* :ref:`genindex`
* :ref:`search`

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5913234.svg
:target: https://doi.org/10.5281/zenodo.5913234
.. image:: https://joss.theoj.org/papers/10.21105/joss.04231/status.svg
:target: https://doi.org/10.21105/joss.04231

.. image:: https://badge.fury.io/py/lintegrate.svg
:target: https://badge.fury.io/py/lintegrate
Expand All @@ -34,4 +57,4 @@ Indices and tables
:target: https://anaconda.org/conda-forge/lintegrate

.. image:: https://github.com/mattpitkin/lintegrate/workflows/build/badge.svg
:target: https://github.com/mattpitkin/lintegrate/actions?query=workflow%3Abuild
:target: https://github.com/mattpitkin/lintegrate/actions?query=workflow%3Abuild

0 comments on commit dfe7bf8

Please sign in to comment.