You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,36 +6,36 @@ This python program reads the diffraction angles and intensities from a PDF form
6
6
7
7
In the field of material science, X-ray diffraction(XRD) is an important method to determine if the desired crystalline phase is fabricated.
8
8
9
-
In the laboratory, it is sufficient to compare the obtained diffraction pattern with known powder diffraction file(PDF) using the analysis software. On the other hand, to making a graph, it is useful to be able to output these PDF data as a numerical file such as CSV.
9
+
In the laboratory, it is sufficient to able to compare the obtained diffraction pattern with known powder diffraction file(PDF) using the analysis software. On the other hand, when making a XRD chart, it is useful to be able to output powder diffraction data as a numerical file such as CSV.
10
10
11
-
Rigaku's SmartLab Studio ii is a integrated software to control XRD instrument and analyze diffraction pattern. This software can output PDF file. However, the output format is PDF(portable document file) only, and can not be output in other format such as CSV.
11
+
Rigaku's SmartLab Studio ii is a integrated software to control XRD instrument and analyze diffraction pattern. This software can output powder diffraction file. However, the output format is PDF(portable document file) only, and can not be output in other format such as CSV.
12
12
13
13
This program supports material researchers by reads the diffraction angles and intensities from a PDF format Powder Diffraction File (PDF) output by Rigaku's SmartLab Studio ii and output these data as a CSV file.
14
14
15
15
## Requirements
16
16
17
17
- python
18
+
- pandas
18
19
- pdfminer.six
19
20
20
21
## How to use
21
22
22
23
```bash
23
24
python3 pdf2csv.py
24
25
```
25
-
pdf2csv.py converts all PDF file in the same directory. The CSV files are saved on the same directory.
26
-
27
-
28
-
```bash
29
-
python3 pdf2csv.py a b...
30
-
```
31
-
pdf2csv.py converts a, and b. if directory is specified, all PDF files in that directory will be converted.
32
-
33
-
```bash
34
-
python3 pdf2csv.py a b... -o c
35
-
```
36
-
Convert the same files as in the previous pattern. CSV files are saved on the directory C.
26
+
pdf2csv.py converts all powder diffraction files in the same directory. The CSV files will be created on the same directory.
37
27
38
28
```bash
39
29
python3 pdf2csv.py -h
40
30
```
41
31
Show help message.
32
+
33
+
## Others
34
+
35
+
Bug reports, feature requests, and any pull requests are always welcome.
0 commit comments