{ "info": { "author": "Rodolfo Ferro", "author_email": "rodolfoferroperez@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# moltransform \ud83d\udcbb\u2697\ufe0f\n\n\n\n\n\n\n\n\nMolecular transformations for graphic displaying using Cartesian coordinates.\n\n## How to use it\n\n#### Generalities:\nThis package aims to transform `(x, y, z)` coordinates of molecules by reading and writing directly from a `.xyz` file and specifying the transformation vector. For each transformation function in the `transform` module, a `verbose` flag can be set `True` to print the transformation matrix to be applied for all `(x, y, z)` coordinates.\n\n### Opening a file\n\nTo load a file, we will use the `read_xyz` function by passing to it the path to the corresponding file to be opened.\n\nAn example on how to load a `.xyz` file:\n```bash\n>>> from moltransform.io import read_xyz\n>>> positions_matrix = read_xyz(\"path/to/file.xyz\")\n```\n\n### Centering coordinates\n\nCenter the molecules' coordinates by finding the center position of all `(x, y, z)` coordinates.\n```bash\n>>> from moltransform.transform import center\n>>> centered_positions = center(positions_matrix)\n```\n\n### Translating coordinates\n\nTranslate a molecule using a specific vector `(a, b, c)`. This implies:\n