Skip to content

Commit 9506a4e

Browse files
authored
Merge pull request #25 from cadenmyers13/getting-started
docs: update getting started page
2 parents d215a47 + 2c2e584 commit 9506a4e

File tree

4 files changed

+63
-1
lines changed

4 files changed

+63
-1
lines changed

doc/source/getting-started.rst

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,31 @@
88
Getting started
99
================
1010

11-
Coming soon...
11+
.. image:: ./img/pdfprimer.png
12+
:alt: codecov-in-pr-comment
13+
:width: 150px
14+
:align: right
15+
16+
For detailed instructions and in-depth examples of modeling with ``diffpy.cmi``, we highly recommend the book,
17+
18+
*Atomic Pair Distribution Function Analysis: A Primer* by Simon J. L. Billinge and Kirsten M. Ø. Jensen (Oxford University Press, 2023).
19+
20+
To purchase this book, please visit `this link <https://www.amazon.com/Atomic-Pair-Distribution-Function-Analysis/dp/0198885806>`_.
21+
22+
Installation
23+
------------
24+
25+
To install ``diffpy.cmi``, create a new conda environment or activate an existing environment and install the package from the conda-forge channel.
26+
27+
.. code-block:: console
28+
29+
conda create -n diffpy.cmi-env
30+
conda install -c conda-forge diffpy.cmi
31+
conda activate diffpy.cmi-env
32+
33+
34+
Data and Examples
35+
-----------------
36+
37+
Worked examples and experimental data from the book are freely available at our
38+
`GitHub repository <https://github.com/Billingegroup/pdfttp_data>`_.

doc/source/img/pdfprimer.png

102 KB
Loading

doc/source/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ Acknowledgements
4343

4444
``diffpy.cmi`` is built and maintained with `scikit-package <https://scikit-package.github.io/scikit-package/>`_.
4545

46+
========
47+
Citation
48+
========
49+
50+
If you use ``diffpy.cmi`` in a scientific publication, we would like you to cite this package as
51+
52+
Juhás, P.; Farrow, C. L.; Yang, X.; Knox, K. R.; Billinge, S. J. L.
53+
Complex Modeling: A Strategy and Software Program for Combining Multiple Information Sources to Solve Ill Posed Structure and Nanostructure Inverse Problems.
54+
*Acta Crystallogr A Found Adv* **2015**, *71* (6), 562–568.
55+
`https://doi.org/10.1107/S2053273315014473 <https://doi.org/10.1107/S2053273315014473>`_
56+
57+
4658
=================
4759
Table of contents
4860
=================

news/getting-started.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* Add getting started page to docs with link to primer book.
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

0 commit comments

Comments
 (0)