.. _chapter_eonexamples:
.. _eon_part_examples:

********************************************************************************
Eon Examples
********************************************************************************

The following table lists the currently available **Eon TK** examples:


.. oe:language:: c++

   .. list-table::
      :widths: 100 100
      :header-rows: 1

      * - Program
        - Description

      * - :ref:`overlap<section_eon_overlap>`
        - Computing **Eon** overlap

      * - :ref:`simple overlay<section_eon_simple_overlay>`
        - Simple **Eon** (Shape and Charge Density) overlay

      * - :ref:`pb overlay<section_eon_pb_overlay>`
        - **Eon** PB (Shape and PB Potential) overlay


.. oe:language:: python

   .. list-table::
      :widths: 100 100
      :header-rows: 1

      * - Program
        - Description

      * - :ref:`overlap<section_eon_overlap>`
        - Computing **Eon** Overlap

      * - :ref:`simple overlay<section_eon_simple_overlay>`
        - Simple **Eon** Overlay

      * - :ref:`pb overlay<section_eon_pb_overlay>`
        - **Eon** PB Overlay

.. _section_eon_overlap:

Computing Eon Overlap
--------------------------------------------------------------------------------
This example reads in a reference molecule and fit molecules and performs
static shape charge similarity calculations. Results are outputted to a file.


.. oe:source:: eon_overlap.cpp
   :language: c++
   :caption:  Computing Eon Overlap
   :refnum:   1

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

         :download:`eon_overlap.cpp <../../../../sublibs/tklibs/et/examples/eon_overlap.cpp>`


.. oe:source:: eon_overlap.py
   :language: python
   :caption:  Computing Eon Overlap
   :refnum:   1

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

         :download:`eon_overlap.py <../../../../wrappers/python/examples/eon/eon_overlap.py>`

.. _section_eon_simple_overlay:

Simple Eon Overlay
--------------------------------------------------------------------------------
This example reads in a reference molecule and fit molecules and overlays
them according to their shape and charge density similarity.

.. oe:source:: eon_simple_overlay.cpp
   :language: c++
   :caption:  Computing Simple Eon Overlay
   :refnum:   2

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

         :download:`eon_simple_overlay.cpp <../../../../sublibs/tklibs/et/examples/eon_simple_overlay.cpp>`


.. oe:source:: eon_simple_overlay.py
   :language: python
   :caption:  Computing Simple Eon Overlay
   :refnum:   2

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

         :download:`eon_simple_overlay.py <../../../../wrappers/python/examples/eon/eon_simple_overlay.py>`

.. _section_eon_pb_overlay:


Eon PB Overlay
--------------------------------------------------------------------------------
This example reads in a reference molecule and fit molecules and overlays
them according to their shape and potential similarity.


.. oe:source:: eon_pb_overlay.cpp
   :language: c++
   :caption:  Computing Eon PB Overlay
   :refnum:   3

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

         :download:`eon_pb_overlay.cpp <../../../../sublibs/tklibs/et/examples/eon_pb_overlay.cpp>`


.. oe:source:: eon_pb_overlay.py
   :language: python
   :caption:  Computing Eon PB Overlay
   :refnum:   3

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

         :download:`eon_pb_overlay.py <../../../../wrappers/python/examples/eon/eon_pb_overlay.py>`

