Skip to content

v0.0.4

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 21:10
· 1 commit to main since this release

Added

  • place(geo, ref, keys, distance, *, direction=None), which moves geo rigidly so that its atom j is distance (Å or a pint quantity) from atom i of ref, with the rest of geo turned away, e.g. to build a complex with join([ref, place(...)]). By default it approaches along the normal to ref's best-fit plane, on atom i's side, or along the axis of a linear ref; it raises a ValueError when no direction can be chosen.