chemcoord.Zmat.subs¶
-
Zmat.
subs
(*args, **kwargs)¶ Substitute a symbolic expression in
['bond', 'angle', 'dihedral']
This is a wrapper around the substitution mechanism of sympy. Any symbolic expression in the columns
['bond', 'angle', 'dihedral']
ofself
will be substituted with value.Parameters: - symb_expr (sympy expression) –
- value –
- perform_checks (bool) – If
perform_checks is True
, it is asserted, that the resulting Zmatrix can be converted to cartesian coordinates. Dummy atoms will be inserted automatically if necessary.
Returns: Zmatrix with substituted symbolic expressions. If all resulting sympy expressions in a column are numbers, the column is recasted to 64bit float.
Return type: