qmcert 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qmcert-1.0.0/LICENSE +21 -0
- qmcert-1.0.0/PKG-INFO +190 -0
- qmcert-1.0.0/README.md +150 -0
- qmcert-1.0.0/pyproject.toml +73 -0
- qmcert-1.0.0/qmcert/__init__.py +46 -0
- qmcert-1.0.0/qmcert/cli.py +266 -0
- qmcert-1.0.0/qmcert/core/__init__.py +40 -0
- qmcert-1.0.0/qmcert/core/frequencies.py +176 -0
- qmcert-1.0.0/qmcert/core/scf_opt.py +112 -0
- qmcert-1.0.0/qmcert/core/scoring.py +165 -0
- qmcert-1.0.0/qmcert/core/thermo.py +114 -0
- qmcert-1.0.0/qmcert/core/wavefunction.py +141 -0
- qmcert-1.0.0/qmcert/parsers/__init__.py +13 -0
- qmcert-1.0.0/qmcert/parsers/gaussian.py +158 -0
- qmcert-1.0.0/qmcert/parsers/generic_qm.py +43 -0
- qmcert-1.0.0/qmcert/parsers/orca.py +215 -0
- qmcert-1.0.0/qmcert/reporters/__init__.py +13 -0
- qmcert-1.0.0/qmcert/reporters/html_report.py +375 -0
- qmcert-1.0.0/qmcert/reporters/manuscript_prep.py +141 -0
- qmcert-1.0.0/qmcert/reporters/plot_generator.py +110 -0
- qmcert-1.0.0/qmcert.egg-info/PKG-INFO +190 -0
- qmcert-1.0.0/qmcert.egg-info/SOURCES.txt +31 -0
- qmcert-1.0.0/qmcert.egg-info/dependency_links.txt +1 -0
- qmcert-1.0.0/qmcert.egg-info/entry_points.txt +2 -0
- qmcert-1.0.0/qmcert.egg-info/requires.txt +13 -0
- qmcert-1.0.0/qmcert.egg-info/top_level.txt +1 -0
- qmcert-1.0.0/setup.cfg +4 -0
- qmcert-1.0.0/tests/test_frequencies.py +45 -0
- qmcert-1.0.0/tests/test_parsers.py +108 -0
- qmcert-1.0.0/tests/test_scf_opt.py +23 -0
- qmcert-1.0.0/tests/test_scoring.py +88 -0
- qmcert-1.0.0/tests/test_thermo.py +18 -0
- qmcert-1.0.0/tests/test_wavefunction.py +28 -0
qmcert-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Andre Monreal-Hernández
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
qmcert-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qmcert
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations
|
|
5
|
+
Author-email: Andre Monreal-Hernández <amonreal@example.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/sircalch/qmcert
|
|
8
|
+
Project-URL: Documentation, https://github.com/sircalch/qmcert#readme
|
|
9
|
+
Project-URL: Repository, https://github.com/sircalch/qmcert.git
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/sircalch/qmcert/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/sircalch/qmcert/blob/main/CHANGELOG.md
|
|
12
|
+
Keywords: quantum-chemistry,dft,orca,gaussian,q-chem,scf-convergence,imaginary-frequencies,transition-state,spin-contamination,thermochemistry,reproducibility,computational-chemistry
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
16
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
17
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Operating System :: OS Independent
|
|
24
|
+
Requires-Python: >=3.9
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
License-File: LICENSE
|
|
27
|
+
Requires-Dist: numpy>=1.20.0
|
|
28
|
+
Requires-Dist: scipy>=1.7.0
|
|
29
|
+
Requires-Dist: pandas>=1.3.0
|
|
30
|
+
Requires-Dist: matplotlib>=3.5.0
|
|
31
|
+
Requires-Dist: jinja2>=3.0.0
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
36
|
+
Requires-Dist: flake8>=6.0.0; extra == "dev"
|
|
37
|
+
Requires-Dist: build>=0.10.0; extra == "dev"
|
|
38
|
+
Requires-Dist: twine>=4.0.0; extra == "dev"
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
|
|
41
|
+
# QMCert
|
|
42
|
+
|
|
43
|
+
[](https://github.com/sircalch/qmcert/actions)
|
|
44
|
+
[](https://pypi.org/project/qmcert/)
|
|
45
|
+
[](https://pypi.org/project/qmcert/)
|
|
46
|
+
[](https://opensource.org/licenses/MIT)
|
|
47
|
+
[](https://doi.org/10.5281/zenodo.1234569)
|
|
48
|
+
|
|
49
|
+
> **Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations.**
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Overview
|
|
54
|
+
|
|
55
|
+
**QMCert** is an open-source scientific toolkit designed to systematically audit, validate, and certify electronic structure calculations (**DFT, HF, post-HF, semiempirical**) from **ORCA**, **Gaussian**, **Q-Chem**, and **NWChem**.
|
|
56
|
+
|
|
57
|
+
Instead of manually inspecting log files to ensure calculations are publication-ready, `qmcert` performs a comprehensive automated audit with a single command:
|
|
58
|
+
|
|
59
|
+
- 🎯 **Stationary Point Certification**:
|
|
60
|
+
- Automatically identifies imaginary frequencies ($\nu < 0\text{ cm}^{-1}$).
|
|
61
|
+
- Validates **Local Minima** (0 imaginary modes) vs **Transition States** (exactly 1 imaginary mode).
|
|
62
|
+
- Flags unphysical saddle points with clear diagnostic messages.
|
|
63
|
+
- 🔄 **Wavefunction & Spin Contamination ($\langle S^2 \rangle$)**:
|
|
64
|
+
- Audits expectation values $\langle S^2 \rangle_{\text{calc}}$ vs exact theoretical $S(S+1)$.
|
|
65
|
+
- Calculates spin contamination percentage and triggers alerts if $> 5.0\%$.
|
|
66
|
+
- ⚡ **SCF & Geometry Convergence Verification**:
|
|
67
|
+
- Checks 4 standard convergence thresholds (Energy change, Max/RMS gradients, Max/RMS displacements).
|
|
68
|
+
- 🌡️ **Advanced Thermochemistry & Quasi-Harmonic Corrections**:
|
|
69
|
+
- Extracts ZPVE, thermal enthalpy $H(T)$, Gibbs free energy $G(T)$, and entropy $S(T)$.
|
|
70
|
+
- Applies **Grimme's quasi-RRHO harmonic entropy correction** to prevent rotational/vibrational divergence for low-frequency modes ($\nu < 100\text{ cm}^{-1}$).
|
|
71
|
+
- 🌈 **Simulated IR Vibrational Spectra**:
|
|
72
|
+
- Lorentzian line-broadening with peak identification.
|
|
73
|
+
- 🚦 **Quantum Chemistry Validation Score (`PASS` / `WARNING` / `FAIL`)**.
|
|
74
|
+
- 📑 **Publication Deliverables**: Interactive self-contained `report.html`, publication vector plots (SVG/PDF/PNG 300 DPI), LaTeX summary tables (`.tex`), and a draft **Computational Details** Methods paragraph with automated **BibTeX citations**.
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
Quantum Chemical Output (.out, .log)
|
|
78
|
+
│
|
|
79
|
+
▼
|
|
80
|
+
┌───────────────────────────────────────────────────────────┐
|
|
81
|
+
│ QMCert │
|
|
82
|
+
│ ├── Stationary Point Certification (0 or 1 Imag Freq) │
|
|
83
|
+
│ ├── Spin Contamination Audit (<S^2> vs S(S+1)) │
|
|
84
|
+
│ ├── SCF & Geometry Optimization Convergence │
|
|
85
|
+
│ ├── Grimme Quasi-RRHO Thermochemistry Corrections │
|
|
86
|
+
│ └── Frontier Orbital Gap & Simulated IR Spectrum │
|
|
87
|
+
└───────────────────────────────────────────────────────────┘
|
|
88
|
+
│
|
|
89
|
+
▼
|
|
90
|
+
┌───────────────────────────────────────────────────────────┐
|
|
91
|
+
│ Publication Deliverables │
|
|
92
|
+
│ ├── report.html (Interactive Dashboard & Badges) │
|
|
93
|
+
│ ├── qmcert_simulated_ir_spectrum.pdf/svg/png │
|
|
94
|
+
│ ├── qmcert_summary_table.tex / .csv │
|
|
95
|
+
│ ├── methods_snippet.txt (Ready for Manuscript) │
|
|
96
|
+
│ └── citation.bib (BibTeX Reference) │
|
|
97
|
+
└───────────────────────────────────────────────────────────┘
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Installation
|
|
103
|
+
|
|
104
|
+
### From PyPI
|
|
105
|
+
```bash
|
|
106
|
+
pip install qmcert
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### From Source
|
|
110
|
+
```bash
|
|
111
|
+
git clone https://github.com/sircalch/qmcert.git
|
|
112
|
+
cd qmcert
|
|
113
|
+
pip install -e .[dev]
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Quickstart (CLI)
|
|
119
|
+
|
|
120
|
+
### 1. Run Demonstration Mode (Instant Benchmark DFT Calculation)
|
|
121
|
+
```bash
|
|
122
|
+
qmcert demo -o my_qm_validation/
|
|
123
|
+
```
|
|
124
|
+
Open `my_qm_validation/report.html` in any browser to inspect the report and simulated IR spectrum!
|
|
125
|
+
|
|
126
|
+
### 2. Assess ORCA / Gaussian Output File
|
|
127
|
+
```bash
|
|
128
|
+
qmcert assess -i calculation.out -o qm_quality_report/
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### 3. Certify a Transition State (TS) Calculation
|
|
132
|
+
```bash
|
|
133
|
+
qmcert assess -i ts_optimization.out --ts -o ts_report/
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Python API Usage
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
from qmcert import assess_qm_quality
|
|
142
|
+
from qmcert.parsers import parse_qm_output
|
|
143
|
+
from qmcert.reporters import generate_qm_figures, generate_qm_manuscript_assets, generate_qm_html_report
|
|
144
|
+
|
|
145
|
+
# 1. Parse quantum chemistry output (ORCA / Gaussian)
|
|
146
|
+
parsed_data = parse_qm_output("my_dft_calc.out")
|
|
147
|
+
|
|
148
|
+
# 2. Assess calculation quality
|
|
149
|
+
report = assess_qm_quality(
|
|
150
|
+
metadata=parsed_data["metadata"],
|
|
151
|
+
scf_converged=parsed_data["scf_converged"],
|
|
152
|
+
frequencies=parsed_data["frequencies"],
|
|
153
|
+
intensities=parsed_data["intensities"],
|
|
154
|
+
expected_point_type="MINIMUM",
|
|
155
|
+
s2_calculated=parsed_data["s2_calculated"],
|
|
156
|
+
thermochemistry=parsed_data["thermochemistry"]
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
print(f"Overall Certification: {report.overall_status}")
|
|
160
|
+
print(f"Stationary Point: {report.frequency_result.point_type}")
|
|
161
|
+
|
|
162
|
+
# 3. Export all publication assets
|
|
163
|
+
generate_qm_figures(report, "output_dir/")
|
|
164
|
+
generate_qm_manuscript_assets(report, "output_dir/")
|
|
165
|
+
generate_qm_html_report(report, "output_dir/report.html")
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Citation
|
|
171
|
+
|
|
172
|
+
If you use QMCert to validate quantum-chemical calculations, certify stationary points, or calculate quasi-RRHO corrections, please cite:
|
|
173
|
+
|
|
174
|
+
```bibtex
|
|
175
|
+
@software{monreal2026qmcert,
|
|
176
|
+
author = {Monreal-Hern{\'a}ndez, Andre},
|
|
177
|
+
title = {{QMCert: Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations}},
|
|
178
|
+
year = {2026},
|
|
179
|
+
version = {1.0.0},
|
|
180
|
+
publisher = {Zenodo},
|
|
181
|
+
url = {https://github.com/sircalch/qmcert}
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## License
|
|
188
|
+
|
|
189
|
+
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
|
|
190
|
+
|
qmcert-1.0.0/README.md
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# QMCert
|
|
2
|
+
|
|
3
|
+
[](https://github.com/sircalch/qmcert/actions)
|
|
4
|
+
[](https://pypi.org/project/qmcert/)
|
|
5
|
+
[](https://pypi.org/project/qmcert/)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://doi.org/10.5281/zenodo.1234569)
|
|
8
|
+
|
|
9
|
+
> **Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations.**
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Overview
|
|
14
|
+
|
|
15
|
+
**QMCert** is an open-source scientific toolkit designed to systematically audit, validate, and certify electronic structure calculations (**DFT, HF, post-HF, semiempirical**) from **ORCA**, **Gaussian**, **Q-Chem**, and **NWChem**.
|
|
16
|
+
|
|
17
|
+
Instead of manually inspecting log files to ensure calculations are publication-ready, `qmcert` performs a comprehensive automated audit with a single command:
|
|
18
|
+
|
|
19
|
+
- 🎯 **Stationary Point Certification**:
|
|
20
|
+
- Automatically identifies imaginary frequencies ($\nu < 0\text{ cm}^{-1}$).
|
|
21
|
+
- Validates **Local Minima** (0 imaginary modes) vs **Transition States** (exactly 1 imaginary mode).
|
|
22
|
+
- Flags unphysical saddle points with clear diagnostic messages.
|
|
23
|
+
- 🔄 **Wavefunction & Spin Contamination ($\langle S^2 \rangle$)**:
|
|
24
|
+
- Audits expectation values $\langle S^2 \rangle_{\text{calc}}$ vs exact theoretical $S(S+1)$.
|
|
25
|
+
- Calculates spin contamination percentage and triggers alerts if $> 5.0\%$.
|
|
26
|
+
- ⚡ **SCF & Geometry Convergence Verification**:
|
|
27
|
+
- Checks 4 standard convergence thresholds (Energy change, Max/RMS gradients, Max/RMS displacements).
|
|
28
|
+
- 🌡️ **Advanced Thermochemistry & Quasi-Harmonic Corrections**:
|
|
29
|
+
- Extracts ZPVE, thermal enthalpy $H(T)$, Gibbs free energy $G(T)$, and entropy $S(T)$.
|
|
30
|
+
- Applies **Grimme's quasi-RRHO harmonic entropy correction** to prevent rotational/vibrational divergence for low-frequency modes ($\nu < 100\text{ cm}^{-1}$).
|
|
31
|
+
- 🌈 **Simulated IR Vibrational Spectra**:
|
|
32
|
+
- Lorentzian line-broadening with peak identification.
|
|
33
|
+
- 🚦 **Quantum Chemistry Validation Score (`PASS` / `WARNING` / `FAIL`)**.
|
|
34
|
+
- 📑 **Publication Deliverables**: Interactive self-contained `report.html`, publication vector plots (SVG/PDF/PNG 300 DPI), LaTeX summary tables (`.tex`), and a draft **Computational Details** Methods paragraph with automated **BibTeX citations**.
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
Quantum Chemical Output (.out, .log)
|
|
38
|
+
│
|
|
39
|
+
▼
|
|
40
|
+
┌───────────────────────────────────────────────────────────┐
|
|
41
|
+
│ QMCert │
|
|
42
|
+
│ ├── Stationary Point Certification (0 or 1 Imag Freq) │
|
|
43
|
+
│ ├── Spin Contamination Audit (<S^2> vs S(S+1)) │
|
|
44
|
+
│ ├── SCF & Geometry Optimization Convergence │
|
|
45
|
+
│ ├── Grimme Quasi-RRHO Thermochemistry Corrections │
|
|
46
|
+
│ └── Frontier Orbital Gap & Simulated IR Spectrum │
|
|
47
|
+
└───────────────────────────────────────────────────────────┘
|
|
48
|
+
│
|
|
49
|
+
▼
|
|
50
|
+
┌───────────────────────────────────────────────────────────┐
|
|
51
|
+
│ Publication Deliverables │
|
|
52
|
+
│ ├── report.html (Interactive Dashboard & Badges) │
|
|
53
|
+
│ ├── qmcert_simulated_ir_spectrum.pdf/svg/png │
|
|
54
|
+
│ ├── qmcert_summary_table.tex / .csv │
|
|
55
|
+
│ ├── methods_snippet.txt (Ready for Manuscript) │
|
|
56
|
+
│ └── citation.bib (BibTeX Reference) │
|
|
57
|
+
└───────────────────────────────────────────────────────────┘
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Installation
|
|
63
|
+
|
|
64
|
+
### From PyPI
|
|
65
|
+
```bash
|
|
66
|
+
pip install qmcert
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### From Source
|
|
70
|
+
```bash
|
|
71
|
+
git clone https://github.com/sircalch/qmcert.git
|
|
72
|
+
cd qmcert
|
|
73
|
+
pip install -e .[dev]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Quickstart (CLI)
|
|
79
|
+
|
|
80
|
+
### 1. Run Demonstration Mode (Instant Benchmark DFT Calculation)
|
|
81
|
+
```bash
|
|
82
|
+
qmcert demo -o my_qm_validation/
|
|
83
|
+
```
|
|
84
|
+
Open `my_qm_validation/report.html` in any browser to inspect the report and simulated IR spectrum!
|
|
85
|
+
|
|
86
|
+
### 2. Assess ORCA / Gaussian Output File
|
|
87
|
+
```bash
|
|
88
|
+
qmcert assess -i calculation.out -o qm_quality_report/
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 3. Certify a Transition State (TS) Calculation
|
|
92
|
+
```bash
|
|
93
|
+
qmcert assess -i ts_optimization.out --ts -o ts_report/
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Python API Usage
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
from qmcert import assess_qm_quality
|
|
102
|
+
from qmcert.parsers import parse_qm_output
|
|
103
|
+
from qmcert.reporters import generate_qm_figures, generate_qm_manuscript_assets, generate_qm_html_report
|
|
104
|
+
|
|
105
|
+
# 1. Parse quantum chemistry output (ORCA / Gaussian)
|
|
106
|
+
parsed_data = parse_qm_output("my_dft_calc.out")
|
|
107
|
+
|
|
108
|
+
# 2. Assess calculation quality
|
|
109
|
+
report = assess_qm_quality(
|
|
110
|
+
metadata=parsed_data["metadata"],
|
|
111
|
+
scf_converged=parsed_data["scf_converged"],
|
|
112
|
+
frequencies=parsed_data["frequencies"],
|
|
113
|
+
intensities=parsed_data["intensities"],
|
|
114
|
+
expected_point_type="MINIMUM",
|
|
115
|
+
s2_calculated=parsed_data["s2_calculated"],
|
|
116
|
+
thermochemistry=parsed_data["thermochemistry"]
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
print(f"Overall Certification: {report.overall_status}")
|
|
120
|
+
print(f"Stationary Point: {report.frequency_result.point_type}")
|
|
121
|
+
|
|
122
|
+
# 3. Export all publication assets
|
|
123
|
+
generate_qm_figures(report, "output_dir/")
|
|
124
|
+
generate_qm_manuscript_assets(report, "output_dir/")
|
|
125
|
+
generate_qm_html_report(report, "output_dir/report.html")
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Citation
|
|
131
|
+
|
|
132
|
+
If you use QMCert to validate quantum-chemical calculations, certify stationary points, or calculate quasi-RRHO corrections, please cite:
|
|
133
|
+
|
|
134
|
+
```bibtex
|
|
135
|
+
@software{monreal2026qmcert,
|
|
136
|
+
author = {Monreal-Hern{\'a}ndez, Andre},
|
|
137
|
+
title = {{QMCert: Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations}},
|
|
138
|
+
year = {2026},
|
|
139
|
+
version = {1.0.0},
|
|
140
|
+
publisher = {Zenodo},
|
|
141
|
+
url = {https://github.com/sircalch/qmcert}
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## License
|
|
148
|
+
|
|
149
|
+
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
|
|
150
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "qmcert"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "Andre Monreal-Hernández", email = "amonreal@example.com" }
|
|
12
|
+
]
|
|
13
|
+
license = { text = "MIT" }
|
|
14
|
+
keywords = [
|
|
15
|
+
"quantum-chemistry",
|
|
16
|
+
"dft",
|
|
17
|
+
"orca",
|
|
18
|
+
"gaussian",
|
|
19
|
+
"q-chem",
|
|
20
|
+
"scf-convergence",
|
|
21
|
+
"imaginary-frequencies",
|
|
22
|
+
"transition-state",
|
|
23
|
+
"spin-contamination",
|
|
24
|
+
"thermochemistry",
|
|
25
|
+
"reproducibility",
|
|
26
|
+
"computational-chemistry"
|
|
27
|
+
]
|
|
28
|
+
classifiers = [
|
|
29
|
+
"Development Status :: 5 - Production/Stable",
|
|
30
|
+
"Intended Audience :: Science/Research",
|
|
31
|
+
"Topic :: Scientific/Engineering :: Chemistry",
|
|
32
|
+
"Topic :: Scientific/Engineering :: Physics",
|
|
33
|
+
"License :: OSI Approved :: MIT License",
|
|
34
|
+
"Programming Language :: Python :: 3",
|
|
35
|
+
"Programming Language :: Python :: 3.9",
|
|
36
|
+
"Programming Language :: Python :: 3.10",
|
|
37
|
+
"Programming Language :: Python :: 3.11",
|
|
38
|
+
"Programming Language :: Python :: 3.12",
|
|
39
|
+
"Operating System :: OS Independent"
|
|
40
|
+
]
|
|
41
|
+
requires-python = ">=3.9"
|
|
42
|
+
dependencies = [
|
|
43
|
+
"numpy>=1.20.0",
|
|
44
|
+
"scipy>=1.7.0",
|
|
45
|
+
"pandas>=1.3.0",
|
|
46
|
+
"matplotlib>=3.5.0",
|
|
47
|
+
"jinja2>=3.0.0"
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
[project.optional-dependencies]
|
|
51
|
+
dev = [
|
|
52
|
+
"pytest>=7.0.0",
|
|
53
|
+
"pytest-cov>=4.0.0",
|
|
54
|
+
"black>=23.0.0",
|
|
55
|
+
"flake8>=6.0.0",
|
|
56
|
+
"build>=0.10.0",
|
|
57
|
+
"twine>=4.0.0"
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
[project.scripts]
|
|
61
|
+
qmcert = "qmcert.cli:main"
|
|
62
|
+
|
|
63
|
+
[project.urls]
|
|
64
|
+
Homepage = "https://github.com/sircalch/qmcert"
|
|
65
|
+
Documentation = "https://github.com/sircalch/qmcert#readme"
|
|
66
|
+
Repository = "https://github.com/sircalch/qmcert.git"
|
|
67
|
+
"Bug Tracker" = "https://github.com/sircalch/qmcert/issues"
|
|
68
|
+
Changelog = "https://github.com/sircalch/qmcert/blob/main/CHANGELOG.md"
|
|
69
|
+
|
|
70
|
+
[tool.setuptools.packages.find]
|
|
71
|
+
include = ["qmcert*"]
|
|
72
|
+
|
|
73
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""
|
|
2
|
+
QMCert: Automated Quality-Control, Stationary Point Certification, and Reproducibility
|
|
3
|
+
Assessment for Quantum-Chemical Calculations.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
__version__ = "1.0.0"
|
|
7
|
+
__author__ = "Andre Monreal-Hernández"
|
|
8
|
+
__license__ = "MIT"
|
|
9
|
+
|
|
10
|
+
from qmcert.core.frequencies import (
|
|
11
|
+
classify_stationary_point,
|
|
12
|
+
simulate_ir_spectrum,
|
|
13
|
+
FrequencyAnalysisResult
|
|
14
|
+
)
|
|
15
|
+
from qmcert.core.scf_opt import (
|
|
16
|
+
evaluate_scf_convergence,
|
|
17
|
+
evaluate_geometry_optimization,
|
|
18
|
+
ConvergenceCriteria
|
|
19
|
+
)
|
|
20
|
+
from qmcert.core.wavefunction import (
|
|
21
|
+
evaluate_spin_contamination,
|
|
22
|
+
evaluate_orbital_gap,
|
|
23
|
+
SpinAnalysisResult
|
|
24
|
+
)
|
|
25
|
+
from qmcert.core.thermo import (
|
|
26
|
+
calculate_quasi_rrho_corrections,
|
|
27
|
+
ThermochemistryData
|
|
28
|
+
)
|
|
29
|
+
from qmcert.core.scoring import assess_qm_quality, QMCertValidationReport
|
|
30
|
+
|
|
31
|
+
__all__ = [
|
|
32
|
+
"__version__",
|
|
33
|
+
"classify_stationary_point",
|
|
34
|
+
"simulate_ir_spectrum",
|
|
35
|
+
"FrequencyAnalysisResult",
|
|
36
|
+
"evaluate_scf_convergence",
|
|
37
|
+
"evaluate_geometry_optimization",
|
|
38
|
+
"ConvergenceCriteria",
|
|
39
|
+
"evaluate_spin_contamination",
|
|
40
|
+
"evaluate_orbital_gap",
|
|
41
|
+
"SpinAnalysisResult",
|
|
42
|
+
"calculate_quasi_rrho_corrections",
|
|
43
|
+
"ThermochemistryData",
|
|
44
|
+
"assess_qm_quality",
|
|
45
|
+
"QMCertValidationReport"
|
|
46
|
+
]
|