.. # split from OEBioFunctions.rst:229

.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEGetPsi Psi

.. oe:function:: OEGetPsi

   .. oe:language:: c++ java csharp

      .. oe:api::

         double OEGetPsi(const OEHierResidue& res)
         double OEGetPsi(const OEChem::OEAtomBase* atom,
                         unsigned assume = OEAssumption::Default)

   .. oe:language:: python

      .. oe:api:: python

         OEGetPsi(res: OEHierResidue) -> float
         OEGetPsi(atom: OEAtomBase, assume: int) -> float

   Returns the :math:`\psi` (psi) angle in radians for a residue
   specified by its :ref:`OEHierResidue <OEBio_OEHierResidue>` class or by any
   :ref:`OEAtomBase <OEChem_OEAtomBase>` from the residue.
   The molecule must have 3D coordinates assigned.

