tmol
parse_tmol_file(filename)
Convert a provided turbomole coord file into an array of atomic numbers and cartesian positions
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename
|
path to the turbomole file to read |
required |
Returns:
| Type | Description |
|---|---|
|
array of (N) atomic numbers and (N, 3) Cartesian positions read from |
|
|
the given file |
Source code in chmpy/fmt/tmol.py
parse_tmol_string(contents, filename=None)
Convert provided turbomole coord file contents into an array of atomic numbers and cartesian positions
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
contents
|
text contents of the turbomole coord file to read |
required |
Returns:
| Type | Description |
|---|---|
|
array of (N) atomic numbers and (N, 3) Cartesian positions read from |
|
|
the given file |