Skip to content

Commit 856c582

Browse files
authored
Merge pull request #41 from cadenmyers13/tutorial
Creating tutorial
2 parents 70ecd70 + 3e2a8c2 commit 856c582

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

doc/source/tutorial.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _tutorial:
2+
3+
Tutorial
4+
########
5+
6+
Input files:
7+
8+
**download test data ``gofr_.h5`` at https://github.com/diffpy/diffpy.fourigui/tree/main/tests/testdata**
9+
10+
Procedure:
11+
12+
1. After installation, open a terminal and type ``fourigui`` to start the program.
13+
14+
2. In ``filename``, input the file path to ``gofr_.h5`` and click load.
15+
16+
3. Select which axis you want to view (0, 1, or 2) and use the slider to explore slices of reciprocal space images.
17+
18+
4. Alter the colorbar range and click ``set range`` to create desired contrast.
19+
20+
5. The options directly below the image will allow you to save or move the plot to your liking.
21+
22+
6. Under ``Space Selection``, switch between real and reciprocal space to visualize the differences.
23+
24+
7. ``qmin`` and ``qmax`` can be changed to set your cutoff values. Click ``new cuttoff`` to set the values.
25+
26+
8. Set your animation frame rate and click ``animation`` to create an animation through the slider.

news/tutorial.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* tutorial added to documentation
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+
* added [project.scripts] to pyproject.toml
20+
21+
**Security:**
22+
23+
* <news item>

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ maintainers = [
1414
description = "Tool for visualizing 3D diffraction and PDF Images."
1515
keywords = ['diffraction', 'pdf', 'pair distribution function', 'gui']
1616
readme = "README.rst"
17-
requires-python = ">=3.10, <3.13"
17+
requires-python = ">=3.10, <3.14"
1818
classifiers = [
1919
'Development Status :: 5 - Production/Stable',
2020
'Environment :: Console',
@@ -32,6 +32,9 @@ classifiers = [
3232
'Topic :: Scientific/Engineering :: Chemistry',
3333
]
3434

35+
[project.scripts]
36+
fourigui = "diffpy.fourigui.fourigui:main"
37+
3538
[project.urls]
3639
Homepage = "https://github.com/diffpy/diffpy.fourigui/"
3740
Issues = "https://github.com/diffpy/diffpy.fourigui/issues/"

0 commit comments

Comments
 (0)