Skip to content

Commit fb49c4d

Browse files
chore: rename docs files with dash connected (#177)
1 parent bea6d62 commit fb49c4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+135
-112
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
parameters, running peak extraction, and saving the results.
2020
2121
This script is equivalent to running
22-
srmise data/Ag_nyquist_qmax30.gr --range 2. 3.5 \
23-
--baseline "Polynomial(degree=1)" --save output/extract_single_peak.srmise \
24-
--pwa output/extract_single_peak.pwa --plot
22+
srmise data/Ag-nyquist-qmax30.gr --range 2. 3.5 \
23+
--baseline "Polynomial(degree=1)" --save output/extract-single-peak.srmise \
24+
--pwa output/extract-single-peak.pwa --plot
2525
at the command line.
2626
"""
2727

@@ -39,7 +39,7 @@ def run(plot=True):
3939
ppe = PDFPeakExtraction()
4040

4141
# Load the PDF from a file
42-
ppe.loadpdf("data/Ag_nyquist_qmax30.gr")
42+
ppe.loadpdf("data/Ag-nyquist-qmax30.gr")
4343

4444
# Set up extraction parameters.
4545
# For convenience, we add all parameters to a dictionary before passing them
@@ -74,8 +74,8 @@ def run(plot=True):
7474
# half-maximum), and area of extracted peaks. The reported values
7575
# are for Gaussians in the radial distribution function (RDF) corresponding
7676
# to this PDF.
77-
ppe.write("output/extract_single_peak.srmise")
78-
ppe.writepwa("output/extract_single_peak.pwa")
77+
ppe.write("output/extract-single-peak.srmise")
78+
ppe.writepwa("output/extract-single-peak.pwa")
7979

8080
# Plot results.
8181
# Display plot of extracted peak. It is also possible to plot an existing
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def run(plot=True):
3434

3535
# Initialize peak extraction
3636
ppe = PDFPeakExtraction()
37-
ppe.loadpdf("data/C60_fine_qmax21.gr")
37+
ppe.loadpdf("data/C60-fine-qmax21.gr")
3838

3939
# Set up interpolated baseline.
4040
# The FromSequence baseline creates an interpolated baseline from provided
@@ -98,8 +98,8 @@ def run(plot=True):
9898
ppe.fit()
9999

100100
# Save results
101-
ppe.write("output/fit_initial.srmise")
102-
ppe.writepwa("output/fit_initial.pwa")
101+
ppe.write("output/fit-initial.srmise")
102+
ppe.writepwa("output/fit-initial.pwa")
103103

104104
if plot:
105105
plt.figure()
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)