vibesketch.document.relax¶
Relaxed 3D structures for a document’s species, kept in the document.
Each named species’ first conformer goes through
vibesketch.chem.relax.relax_3d() and is replaced by the result; its
other conformers stay. Constraints name atoms of one species, so a call
with constraints names exactly one species.
Functions
|
|
Classes
|
What relaxing did, per species id. |
- class vibesketch.document.relax.RelaxReport(relaxed=<factory>, results=<factory>, failed=<factory>, warnings=<factory>)[source]¶
Bases:
objectWhat relaxing did, per species id.
- Parameters:
- vibesketch.document.relax.relax(document, species=None, *, constraints=None, force_field='mmff94', fmax=None, max_steps=None)[source]¶
documentwith the 3D structures ofspecies(default: all) relaxed.fmaxandmax_stepsdefault to the relaxation’s own. RaisesUnknownSpeciesfor an id the document does not have andValueErrorwhen constraints come with more than one species.