Skip to content

Commit bf589c3

Browse files
authored
Update README.md
1 parent 3bbe82e commit bf589c3

1 file changed

Lines changed: 52 additions & 19 deletions

File tree

README.md

Lines changed: 52 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@
2020
**ConeZen** is a lightweight, open-source Python package designed to characterize and visualize the branching plane topology at a conical intersection (CI). The shape and orientation of a CI's potential energy surfaces dictate the pathways for ultrafast, non-radiative electronic transitions, which are fundamental to processes like vision, photosynthesis, and DNA photostability.
2121

2222
Using output from standard quantum chemistry programs (tested on SHARC-OpenMolcas), **ConeZen** computes key topological descriptors and renders intuitive 3D potential energy surfaces. This allows researchers to move from raw numerical data to an intuitive, quantitative understanding of the CI landscape, helping to predict the outcomes of photochemical reactions.
23-
- 📝Note: ConeZen was tested with the gradients and NAC obtained from SHARC-OpenMolcas interface. (see [SHARC Manual](https://sharc-md.org/?page_id=1454))
23+
- 📝Note: ConeZen was tested with the gradients and NAC obtained from SHARC-OpenMolcas interface. The automated extraction feature is specifically designed for the QM.out file generated by this interface. (see [SHARC Manual](https://sharc-md.org/?page_id=1454))
2424
---
2525

2626
## ✨ Key Features
2727

28-
- **Automated Analysis**
29-
Computes key CI descriptors:
28+
- **Automated Analysis**
29+
- **Direct QM Output Parsing** Automatically extracts the required gradients and nonadiabatic coupling (NAC) vectors directly from sharc-molcas QM.out files. Just specify the file and the states of interest (e.g., S1, T2), and ConeZen handles the rest.
30+
- **Topological Analysis** Computes key CI descriptors from the vector data:
3031
- The strength or pitch ( $\delta_{gh}$ )
3132
- The asymmetry ( $$\Delta_{gh}$$ )
3233
- The relative tilt and tilt heading ( σ ), $\theta_s$ respectively.
@@ -109,6 +110,36 @@ conezen
109110
```
110111
The interactive session will look like this:
111112

113+
### New Automated Extraction Workflow:
114+
115+
This is the recommended and easiest workflow.
116+
117+
```
118+
============================================================
119+
ConeZen: Conical Intersection Branching Plane Visualization
120+
============================================================
121+
...
122+
(Do you want to automatically extract gradients and NACs from a QM output file? (only for sharc-molcas output QM.out file) [y/n]: y
123+
Enter the source QM file name (default: QM.out):
124+
Enter the total number of singlet states (default: 20): 5
125+
Enter the total number of triplet states (default: 20): 5
126+
Enter the lower state (e.g., S2): s2
127+
Enter the upper state (e.g., S3): s3
128+
✅ Successfully extracted and saved 'S2_gradient.out'
129+
✅ Successfully extracted and saved 'S3_gradient.out'
130+
✅ Automatically extracted and saved 'NAC_S2_S3.out'
131+
Enter the energy of the intersection point (Hartree) (default: 0):
132+
...
133+
✅ Key quantities calculated.
134+
Save branching plane key quantities to a file? [y/n]: y
135+
Enter filename for parameters (default: ci_parameters.txt):
136+
...
137+
Show 3D surface plot now? [y/n]: y
138+
```
139+
### Manual Input Workflow:
140+
141+
If you choose not to use the automated extractor or have your gradient/NAC files prepared separately, you can provide them manually.
142+
112143
```bash
113144
============================================================
114145
ConeZen: Conical Intersection Branching Plane Visualization
@@ -182,14 +213,21 @@ plt.show()
182213

183214
## 📄 Input File Format
184215

216+
ConeZen can now work directly with QM.out files from SHARC-OpenMolcas, but it also supports manually prepared text files.
217+
- Source Quantum Chemistry File (`QM.out`):
218+
- This is the primary input for the new automated workflow.
219+
- ConeZen searches this file for the specific headers corresponding to the requested electronic states (e.g., m1 1 s1 3 ms1 0 for the S2 gradient) to extract gradient and NAC vectors.
220+
-
221+
185222
ConeZen expects simple text files for the gradients, nonadiabatic coupling (NAC) vectors, and geometry. The format is designed for easy generation from post-processing scripts and is directly compatible with output from programs like SHARC-OpenMolcas.
186223

187224
- Gradient and NAC Files (```gradientA.out```, ```gradientB.out```, ```NAC.out```):
188-
- The first line is treated as a header and is skipped.
189-
- Subsequent lines should contain the Cartesian vector components (x, y, z) for each atom, typically in units of Hartree/Bohr.
225+
- These files are generated automatically when using the extraction workflow or can be provided manually.
226+
- The first line is treated as a header and is skipped.
227+
- Subsequent lines should contain the Cartesian vector components (x, y, z) for each atom.
190228
- The script reads the first three numeric values on each line. Any additional text (like atom symbols) is ignored.
191-
- Geometry File (.xyz):
192-
- A standard XYZ file format is expected. This is used to correctly label the atoms in the output vector files.
229+
- Geometry File (```.xyz```):
230+
- A standard XYZ file format is used to add atom labels to the output vector files.
193231
- The first two lines (number of atoms and a comment line) are skipped as per the standard.
194232

195233
Example ```gradientA.out```:
@@ -218,6 +256,7 @@ Coordinates from ORCA-job orca
218256
```
219257
## 📤 Output
220258
The CLI tool can generate several useful output files in your working directory:
259+
- ```S2_gradient.out```, ```NAC_S2_S3.out```, etc.: The gradient and NAC files automatically extracted from the source QM.out file.
221260
- ```ci_parameters.txt```: A text file containing the calculated topological quantities ($\delta_{gh}$, $$\Delta_{gh}$$ , σ , $\theta_s$). This provides a quick human-readable summary of the CI's characters.
222261
- ```x_vectors.out```, ```y_vectors.out```: The orthonormal branching plane vectors $\hat{x}$ and $\hat{y}$.
223262
- ```conical_intersection.png```: A high-resolution image of the 3D plot. The plot is saved with a transparent background and tight bounding box, making it easy to incorporate into other documents.
@@ -227,8 +266,7 @@ The CLI tool can generate several useful output files in your working directory:
227266
If you use ConeZen in your research, please cite the accompanying paper. Your citation allows us to track the software's impact and helps support its continued development.
228267

229268
```
230-
Kalpajyoti Dihingia & Biswajit Maiti, ConeZen: A Python Package for Visualizing Conical Intersection Branching Planes, journal name (2025).
231-
269+
To be updated
232270
Zenodo DOI: [Zenodo DOI will go here]
233271
234272
```
@@ -245,23 +283,18 @@ Zenodo DOI: [Zenodo DOI will go here]
245283
```
246284

247285
---
248-
### 🙏 Acknowledgments
249-
250-
Developed as part of my Ph.D. research at *Banaras Hindu University (BHU)*.
251-
252-
Special thanks to **Prof. Biswajit Maiti** and **Dr. Sebastian** for their guidance and support.
253286

254287
## ⚖️ License
255288

256289
Distributed under the **GNU GPL v3.0**. See the [LICENSE](LICENSE) file for details.
257290

258291
---
292+
## 🙏 Acknowledgments
259293

260-
## References
261-
262-
> Ignacio Fdez. Galván, Mickaël G. Delcey, Thomas Bondo Pedersen, Francesco Aquilante, and Roland Lindh,
263-
> "Analytical State-Average Complete-Active-Space Self-Consistent Field Nonadiabatic Coupling Vectors: Implementation with Density-Fitted Two-Electron Integrals",
264-
> *J. Chem. Theory Comput.* 2016, **12(8)**, 3636–3653. DOI: [10.1021/acs.jctc.6b00384](https://doi.org/10.1021/acs.jctc.6b00384)
294+
- Developed at *Banaras Hindu University (BHU)*.
295+
- Based on the theoretical framework described in:
296+
```J. Chem. Theory Comput. 2016, 12(8), 3636–3653. DOI: 10.1021/acs.jctc.6b00384```
297+
---
265298

266299
For full metadata and citation, see [`CITATION.cff`](CITATION.cff) and [`.zenodo.json`](.zenodo.json).
267300

0 commit comments

Comments
 (0)