Python Organic Crystal Simulation Environment (pyocse) is a library designed for simulating organic crystals. It facilitates tasks like automated force field generation for CHARMM and handling crystal structures and molecules. The current stable version is 0.1.3, with releases being infrequent, primarily tied to significant feature additions and core updates.
pip install pyocseVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize a `pyocse.data.Molecule` object, specifically by converting an `ase.Atoms` object. It then shows how to access basic molecular properties and interact with the underlying `ase` object for more detailed atomic manipulation, highlighting the interoperability.
Consult the v0.1.0 release notes and updated examples in the documentation for the current usage patterns of `pyocse.force_field`.
To use `ase` or `pymatgen`-specific methods, access the underlying object via `mol.ase_atom` (or `mol.pymatgen_structure` if applicable) for `Molecule` and similarly for `Crystal`.
Ensure a stable internet connection for force field generation. Be aware that changes in CHARMM-GUI's interface could impact `pyocse`'s functionality, potentially requiring updates or adjustments.